MethodManager Class Reference
[Core Module Interfaces]

Interface definition of the MethodManager used for calling methods in the server. More...

#include <methodmanager.h>

Inheritance diagram for MethodManager:

List of all members.

Public Member Functions

 MethodManager ()
virtual ~MethodManager ()
virtual UaStatus beginCall (MethodManagerCallback *pCallback, const ServiceContext &serviceContext, OpcUa_UInt32 callbackHandle, MethodHandle *pMethodHandle, const UaVariantArray &inputArguments)=0

Detailed Description

Interface definition of the MethodManager used for calling methods in the server.

The MethodManager interface provides the method call capability for objects. The MethodManager interface is asynchronous. For the MethodManager callback the MethodManagerCallback interface is implemented by the consumer of the call results. One of the consumers is the UA Module. This interface is used by the SDK to multiplex the list of calls in the UA service to different MethodManagers.


Constructor & Destructor Documentation

MethodManager::MethodManager (  ) [inline]

construction

virtual MethodManager::~MethodManager (  ) [inline, virtual]

destruction


Member Function Documentation

virtual UaStatus MethodManager::beginCall ( MethodManagerCallback pCallback,
const ServiceContext serviceContext,
OpcUa_UInt32  callbackHandle,
MethodHandle pMethodHandle,
const UaVariantArray &  inputArguments 
) [pure virtual]

Call method of an UA object.

Parameters:
pCallbackCallback interface used for the transaction. The IOManager must use this interface to finish the action for each passed node in the transaction.
serviceContextGeneral context for the service calls containing information like the session object, return diagnostic mask and timeout hint.
callbackHandleHandle for the node in the callback. This handle was passed in to the IOManager with the beginModifyMonitoring method.
pMethodHandleHandle for the node of the method.
inputArgumentsthe actual input Argument.
Returns:
Error code

Implemented in OpcUa::AcknowledgeableConditionTypeBase, OpcUa::AlarmConditionTypeBase, OpcUa::BaseObjectType, OpcUa::ConditionTypeBase, OpcUa::DialogConditionTypeBase, OpcUa::DiscreteAlarmTypeBase, OpcUa::ExclusiveDeviationAlarmTypeBase, OpcUa::ExclusiveLevelAlarmTypeBase, OpcUa::ExclusiveLimitAlarmTypeBase, OpcUa::ExclusiveRateOfChangeAlarmTypeBase, OpcUa::LimitAlarmTypeBase, OpcUa::NonExclusiveDeviationAlarmTypeBase, OpcUa::NonExclusiveLevelAlarmTypeBase, OpcUa::NonExclusiveLimitAlarmTypeBase, OpcUa::NonExclusiveRateOfChangeAlarmTypeBase, OpcUa::OffNormalAlarmTypeBase, and OpcUa::TripAlarmTypeBase.


The documentation for this class was generated from the following file:
  • /home/buildbot/work/uasdkcpp/src/uaserver/uaservercpp/coremodule/methodmanager.h