MethodManager Class Reference
[Core Module Interfaces]

#include <methodmanager.h>

Inherited by UaConditionStateMachineType.

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:
pCallback Callback interface used for the transaction. The IOManager must use this interface to finish the action for each passed node in the transaction.
serviceContext General context for the service calls containing information like the session object, return diagnostic mask and timeout hint.
callbackHandle Handle for the node in the callback. This handle was passed in to the IOManager with the beginModifyMonitoring method.
pMethodHandle Handle for the node of the method.
inputArguments the actual input Argument.
Returns:
Error code


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