UaServer Class Reference

OPC UA Server Main Entry Class. Derived from UaThread It is not possible to create plane copies of this class. It is not possible to use the default constructor. More...

#include <uaserver.h>

Inheritance diagram for UaServer:
Collaboration diagram for UaServer:

List of all members.


Public Member Functions

 UaServer ()
 ~UaServer ()
UaStatus initStackSettings (ServerConfig *pServerConfig)
UaStatus startUp (ServerManager *pServerManager)
UaStatus shutDown ()
OpcUa_StatusCode FindServers (OpcUa_Endpoint Endpoint, OpcUa_Handle CallContext, OpcUa_FindServersRequest *Request, OpcUa_EncodeableType *pRequestType)
OpcUa_StatusCode GetEndpoints (OpcUa_Endpoint Endpoint, OpcUa_Handle CallContext, OpcUa_GetEndpointsRequest *Request, OpcUa_EncodeableType *pRequestType)
OpcUa_StatusCode CreateSession (OpcUa_Endpoint Endpoint, OpcUa_Handle CallContext, OpcUa_CreateSessionRequest *Request, OpcUa_EncodeableType *pRequestType)
OpcUa_StatusCode ActivateSession (OpcUa_Endpoint Endpoint, OpcUa_Handle CallContext, OpcUa_ActivateSessionRequest *Request, OpcUa_EncodeableType *pRequestType)
OpcUa_StatusCode CloseSession (OpcUa_Endpoint Endpoint, OpcUa_Handle CallContext, OpcUa_CloseSessionRequest *Request, OpcUa_EncodeableType *pRequestType)
OpcUa_StatusCode Cancel (OpcUa_Endpoint Endpoint, OpcUa_Handle CallContext, OpcUa_CancelRequest *Request, OpcUa_EncodeableType *pRequestType)
OpcUa_StatusCode AddNodes (OpcUa_Endpoint Endpoint, OpcUa_Handle CallContext, OpcUa_AddNodesRequest *Request, OpcUa_EncodeableType *pRequestType)
OpcUa_StatusCode AddReferences (OpcUa_Endpoint Endpoint, OpcUa_Handle CallContext, OpcUa_AddReferencesRequest *Request, OpcUa_EncodeableType *pRequestType)
OpcUa_StatusCode DeleteNodes (OpcUa_Endpoint Endpoint, OpcUa_Handle CallContext, OpcUa_DeleteNodesRequest *Request, OpcUa_EncodeableType *pRequestType)
OpcUa_StatusCode DeleteReferences (OpcUa_Endpoint Endpoint, OpcUa_Handle CallContext, OpcUa_DeleteReferencesRequest *Request, OpcUa_EncodeableType *pRequestType)
OpcUa_StatusCode Browse (OpcUa_Endpoint Endpoint, OpcUa_Handle CallContext, OpcUa_BrowseRequest *Request, OpcUa_EncodeableType *pRequestType)
OpcUa_StatusCode BrowseNext (OpcUa_Endpoint Endpoint, OpcUa_Handle CallContext, OpcUa_BrowseNextRequest *Request, OpcUa_EncodeableType *pRequestType)
OpcUa_StatusCode TranslateBrowsePathsToNodeIds (OpcUa_Endpoint Endpoint, OpcUa_Handle CallContext, OpcUa_TranslateBrowsePathsToNodeIdsRequest *Request, OpcUa_EncodeableType *pRequestType)
OpcUa_StatusCode RegisterNodes (OpcUa_Endpoint Endpoint, OpcUa_Handle CallContext, OpcUa_RegisterNodesRequest *Request, OpcUa_EncodeableType *pRequestType)
OpcUa_StatusCode UnregisterNodes (OpcUa_Endpoint Endpoint, OpcUa_Handle CallContext, OpcUa_UnregisterNodesRequest *Request, OpcUa_EncodeableType *pRequestType)
OpcUa_StatusCode Read (OpcUa_Endpoint Endpoint, OpcUa_Handle CallContext, OpcUa_ReadRequest *Request, OpcUa_EncodeableType *pRequestType)
OpcUa_StatusCode Write (OpcUa_Endpoint Endpoint, OpcUa_Handle CallContext, OpcUa_WriteRequest *Request, OpcUa_EncodeableType *pRequestType)
OpcUa_StatusCode HistoryRead (OpcUa_Endpoint Endpoint, OpcUa_Handle CallContext, OpcUa_HistoryReadRequest *Request, OpcUa_EncodeableType *pRequestType)
OpcUa_StatusCode HistoryUpdate (OpcUa_Endpoint Endpoint, OpcUa_Handle CallContext, OpcUa_HistoryUpdateRequest *Request, OpcUa_EncodeableType *pRequestType)
OpcUa_StatusCode Call (OpcUa_Endpoint Endpoint, OpcUa_Handle CallContext, OpcUa_CallRequest *Request, OpcUa_EncodeableType *pRequestType)
OpcUa_StatusCode CreateSubscription (OpcUa_Endpoint Endpoint, OpcUa_Handle CallContext, OpcUa_CreateSubscriptionRequest *Request, OpcUa_EncodeableType *pRequestType)
OpcUa_StatusCode ModifySubscription (OpcUa_Endpoint Endpoint, OpcUa_Handle CallContext, OpcUa_ModifySubscriptionRequest *Request, OpcUa_EncodeableType *pRequestType)
OpcUa_StatusCode SetPublishingMode (OpcUa_Endpoint Endpoint, OpcUa_Handle CallContext, OpcUa_SetPublishingModeRequest *Request, OpcUa_EncodeableType *pRequestType)
OpcUa_StatusCode Publish (OpcUa_Endpoint Endpoint, OpcUa_Handle CallContext, OpcUa_PublishRequest *Request, OpcUa_EncodeableType *pRequestType)
OpcUa_StatusCode Republish (OpcUa_Endpoint Endpoint, OpcUa_Handle CallContext, OpcUa_RepublishRequest *Request, OpcUa_EncodeableType *pRequestType)
OpcUa_StatusCode TransferSubscriptions (OpcUa_Endpoint Endpoint, OpcUa_Handle CallContext, OpcUa_TransferSubscriptionsRequest *Request, OpcUa_EncodeableType *pRequestType)
OpcUa_StatusCode DeleteSubscriptions (OpcUa_Endpoint Endpoint, OpcUa_Handle CallContext, OpcUa_DeleteSubscriptionsRequest *Request, OpcUa_EncodeableType *pRequestType)
OpcUa_StatusCode CreateMonitoredItems (OpcUa_Endpoint Endpoint, OpcUa_Handle CallContext, OpcUa_CreateMonitoredItemsRequest *Request, OpcUa_EncodeableType *pRequestType)
OpcUa_StatusCode ModifyMonitoredItems (OpcUa_Endpoint Endpoint, OpcUa_Handle CallContext, OpcUa_ModifyMonitoredItemsRequest *Request, OpcUa_EncodeableType *pRequestType)
OpcUa_StatusCode SetMonitoringMode (OpcUa_Endpoint Endpoint, OpcUa_Handle CallContext, OpcUa_SetMonitoringModeRequest *Request, OpcUa_EncodeableType *pRequestType)
OpcUa_StatusCode SetTriggering (OpcUa_Endpoint Endpoint, OpcUa_Handle CallContext, OpcUa_SetTriggeringRequest *Request, OpcUa_EncodeableType *pRequestType)
OpcUa_StatusCode DeleteMonitoredItems (OpcUa_Endpoint Endpoint, OpcUa_Handle CallContext, OpcUa_DeleteMonitoredItemsRequest *Request, OpcUa_EncodeableType *pRequestType)
void secureChannelCreated (OpcUa_UInt32 uSecureChannelId, OpcUa_StatusCode uStatus, const UaString &sSecurityPolicy, OpcUa_UInt16 uSecurityMode, const UaByteString &clientCertificate)
void secureChannelDeleted (OpcUa_UInt32 uSecureChannelId)

Detailed Description

OPC UA Server Main Entry Class. Derived from UaThread It is not possible to create plane copies of this class. It is not possible to use the default constructor.

UaServer


Constructor & Destructor Documentation

UaServer::UaServer (  ) 

construction

Parameters:
pServerManager Interface to the central ServerManager object. This interface pointer should be stored in the NodeManager instance to have access to core module objects like the root NodeManager or the ServerConfig

UaServer::~UaServer (  ) 

destruction


Member Function Documentation

UaStatus UaServer::initStackSettings ( ServerConfig pServerConfig  ) 

Initialize stack from configuration.

UaStatus UaServer::startUp ( ServerManager pServerManager  ) 

Start up method for OPC UA server.

Returns:
Error code

UaStatus UaServer::shutDown (  ) 

Shut down method for OPC UA server.

Returns:
Error code

OpcUa_StatusCode UaServer::FindServers ( OpcUa_Endpoint  a_pEndpoint,
OpcUa_Handle  a_hCallContext,
OpcUa_FindServersRequest *  a_pRequest,
OpcUa_EncodeableType *  a_pRequestType 
)

The implementation for the OpenSession service.

Parameters:
a_pEndpoint configured endpoints for the server.
a_hCallContext Callback context used for the transaction.
a_pRequest the request of the current send information.
a_pRequestType the type of the Request.
Returns:
OPC UA status code

OpcUa_StatusCode UaServer::GetEndpoints ( OpcUa_Endpoint  a_pEndpoint,
OpcUa_Handle  a_hCallContext,
OpcUa_GetEndpointsRequest *  a_pRequest,
OpcUa_EncodeableType *  a_pRequestType 
)

The implementation for the OpenSession service.

Parameters:
a_pEndpoint configured endpoints for the server.
a_hCallContext Callback context used for the transaction.
a_pRequest the request of the current send information.
a_pRequestType the type of the Request.
Returns:
OPC UA status code

OpcUa_StatusCode UaServer::CreateSession ( OpcUa_Endpoint  a_pEndpoint,
OpcUa_Handle  a_hCallContext,
OpcUa_CreateSessionRequest *  a_pRequest,
OpcUa_EncodeableType *  a_pRequestType 
)

The implementation for the OpenSession service.

Parameters:
a_pEndpoint configured endpoints for the server.
a_hCallContext Callback context used for the transaction.
a_pRequest the request of the current send information.
a_pRequestType the type of the Request.
Returns:
OPC UA status code

OpcUa_StatusCode UaServer::ActivateSession ( OpcUa_Endpoint  a_pEndpoint,
OpcUa_Handle  a_hCallContext,
OpcUa_ActivateSessionRequest *  a_pRequest,
OpcUa_EncodeableType *  a_pRequestType 
)

The implementation for the ActivateSession service.

Parameters:
a_pEndpoint configured endpoints for the server.
a_hCallContext Callback context used for the transaction.
a_pRequest the request of the current send information.
a_pRequestType the type of the Request.
Returns:
OPC UA status code

OpcUa_StatusCode UaServer::CloseSession ( OpcUa_Endpoint  a_pEndpoint,
OpcUa_Handle  a_hCallContext,
OpcUa_CloseSessionRequest *  a_pRequest,
OpcUa_EncodeableType *  a_pRequestType 
)

The implementation for the CloseSession service.

Parameters:
a_pEndpoint configured endpoints for the server.
a_hCallContext Callback context used for the transaction.
a_pRequest the request of the current send information.
a_pRequestType the type of the Request.
Returns:
OPC UA status code

OpcUa_StatusCode UaServer::Cancel ( OpcUa_Endpoint  a_pEndpoint,
OpcUa_Handle  a_hCallContext,
OpcUa_CancelRequest *  a_pRequest,
OpcUa_EncodeableType *  a_pRequestType 
)

The implementation for the Cancel service.

Parameters:
a_pEndpoint configured endpoints for the server.
a_hCallContext Callback context used for the transaction.
a_pRequest the request of the current send information.
a_pRequestType the type of the Request.
Returns:
OPC UA status code

OpcUa_StatusCode UaServer::AddNodes ( OpcUa_Endpoint  a_pEndpoint,
OpcUa_Handle  a_hCallContext,
OpcUa_AddNodesRequest *  a_pRequest,
OpcUa_EncodeableType *  a_pRequestType 
)

The implementation for the AddNodes service.

Parameters:
a_pEndpoint configured endpoints for the server.
a_hCallContext Callback context used for the transaction.
a_pRequest the request of the current send information.
a_pRequestType the type of the Request.
Returns:
OPC UA status code

OpcUa_StatusCode UaServer::AddReferences ( OpcUa_Endpoint  a_pEndpoint,
OpcUa_Handle  a_hCallContext,
OpcUa_AddReferencesRequest *  a_pRequest,
OpcUa_EncodeableType *  a_pRequestType 
)

The implementation for the AddReferences service.

Parameters:
a_pEndpoint configured endpoints for the server.
a_hCallContext Callback context used for the transaction.
a_pRequest the request of the current send information.
a_pRequestType the type of the Request.
Returns:
OPC UA status code

OpcUa_StatusCode UaServer::DeleteNodes ( OpcUa_Endpoint  a_pEndpoint,
OpcUa_Handle  a_hCallContext,
OpcUa_DeleteNodesRequest *  a_pRequest,
OpcUa_EncodeableType *  a_pRequestType 
)

The implementation for the DeleteNodes service.

Parameters:
a_pEndpoint configured endpoints for the server.
a_hCallContext Callback context used for the transaction.
a_pRequest the request of the current send information.
a_pRequestType the type of the Request.
Returns:
OPC UA status code

OpcUa_StatusCode UaServer::DeleteReferences ( OpcUa_Endpoint  a_pEndpoint,
OpcUa_Handle  a_hCallContext,
OpcUa_DeleteReferencesRequest *  a_pRequest,
OpcUa_EncodeableType *  a_pRequestType 
)

The implementation for the DeleteReferences service.

Parameters:
a_pEndpoint configured endpoints for the server.
a_hCallContext Callback context used for the transaction.
a_pRequest the request of the current send information.
a_pRequestType the type of the Request.
Returns:
OPC UA status code

OpcUa_StatusCode UaServer::Browse ( OpcUa_Endpoint  a_pEndpoint,
OpcUa_Handle  a_hCallContext,
OpcUa_BrowseRequest *  a_pRequest,
OpcUa_EncodeableType *  a_pRequestType 
)

The implementation for the Browse service.

Parameters:
a_pEndpoint configured endpoints for the server.
a_hCallContext Callback context used for the transaction.
a_pRequest the request of the current send information.
a_pRequestType the type of the Request.
Returns:
OPC UA status code

OpcUa_StatusCode UaServer::BrowseNext ( OpcUa_Endpoint  a_pEndpoint,
OpcUa_Handle  a_hCallContext,
OpcUa_BrowseNextRequest *  a_pRequest,
OpcUa_EncodeableType *  a_pRequestType 
)

The implementation for the BrowseNext service.

Parameters:
a_pEndpoint configured endpoints for the server.
a_hCallContext Callback context used for the transaction.
a_pRequest the request of the current send information.
a_pRequestType the type of the Request.
Returns:
OPC UA status code

OpcUa_StatusCode UaServer::TranslateBrowsePathsToNodeIds ( OpcUa_Endpoint  a_pEndpoint,
OpcUa_Handle  a_hCallContext,
OpcUa_TranslateBrowsePathsToNodeIdsRequest *  a_pRequest,
OpcUa_EncodeableType *  a_pRequestType 
)

The implementation for the TranslateBrowsePathsToNodeIds service.

Parameters:
a_pEndpoint configured endpoints for the server.
a_hCallContext Callback context used for the transaction.
a_pRequest the request of the current send information.
a_pRequestType the type of the Request.
Returns:
OPC UA status code

OpcUa_StatusCode UaServer::RegisterNodes ( OpcUa_Endpoint  a_pEndpoint,
OpcUa_Handle  a_hCallContext,
OpcUa_RegisterNodesRequest *  a_pRequest,
OpcUa_EncodeableType *  a_pRequestType 
)

The implementation for the RegisterNodes service.

Parameters:
a_pEndpoint configured endpoints for the server.
a_hCallContext Callback context used for the transaction.
a_pRequest the request of the current send information.
a_pRequestType the type of the Request.
Returns:
OPC UA status code

OpcUa_StatusCode UaServer::UnregisterNodes ( OpcUa_Endpoint  a_pEndpoint,
OpcUa_Handle  a_hCallContext,
OpcUa_UnregisterNodesRequest *  a_pRequest,
OpcUa_EncodeableType *  a_pRequestType 
)

The implementation for the UnregisterNodes service.

Parameters:
a_pEndpoint configured endpoints for the server.
a_hCallContext Callback context used for the transaction.
a_pRequest the request of the current send information.
a_pRequestType the type of the Request.
Returns:
OPC UA status code

OpcUa_StatusCode UaServer::Read ( OpcUa_Endpoint  a_pEndpoint,
OpcUa_Handle  a_hCallContext,
OpcUa_ReadRequest *  a_pRequest,
OpcUa_EncodeableType *  a_pRequestType 
)

The implementation for the Read service.

Parameters:
a_pEndpoint configured endpoints for the server.
a_hCallContext Callback context used for the transaction.
a_pRequest the request of the current send information.
a_pRequestType the type of the Request.
Returns:
OPC UA status code

OpcUa_StatusCode UaServer::Write ( OpcUa_Endpoint  a_pEndpoint,
OpcUa_Handle  a_hCallContext,
OpcUa_WriteRequest *  a_pRequest,
OpcUa_EncodeableType *  a_pRequestType 
)

The implementation for the Write service.

Parameters:
a_pEndpoint configured endpoints for the server.
a_hCallContext Callback context used for the transaction.
a_pRequest the request of the current send information.
a_pRequestType the type of the Request.
Returns:
OPC UA status code

OpcUa_StatusCode UaServer::HistoryRead ( OpcUa_Endpoint  a_pEndpoint,
OpcUa_Handle  a_hCallContext,
OpcUa_HistoryReadRequest *  a_pRequest,
OpcUa_EncodeableType *  a_pRequestType 
)

The implementation for the HistoryRead service.

Parameters:
a_pEndpoint configured endpoints for the server.
a_hCallContext Callback context used for the transaction.
a_pRequest the request of the current send information.
a_pRequestType the type of the Request.
Returns:
OPC UA status code

OpcUa_StatusCode UaServer::HistoryUpdate ( OpcUa_Endpoint  a_pEndpoint,
OpcUa_Handle  a_hCallContext,
OpcUa_HistoryUpdateRequest *  a_pRequest,
OpcUa_EncodeableType *  a_pRequestType 
)

The implementation for the HistoryUpdate service.

Parameters:
a_pEndpoint configured endpoints for the server.
a_hCallContext Callback context used for the transaction.
a_pRequest the request of the current send information.
a_pRequestType the type of the Request.
Returns:
OPC UA status code

OpcUa_StatusCode UaServer::Call ( OpcUa_Endpoint  a_pEndpoint,
OpcUa_Handle  a_hCallContext,
OpcUa_CallRequest *  a_pRequest,
OpcUa_EncodeableType *  a_pRequestType 
)

The implementation for the Call service.

Parameters:
a_pEndpoint configured endpoints for the server.
a_hCallContext Callback context used for the transaction.
a_pRequest the request of the current send information.
a_pRequestType the type of the Request.
Returns:
OPC UA status code

OpcUa_StatusCode UaServer::CreateSubscription ( OpcUa_Endpoint  a_pEndpoint,
OpcUa_Handle  a_hCallContext,
OpcUa_CreateSubscriptionRequest *  a_pRequest,
OpcUa_EncodeableType *  a_pRequestType 
)

The implementation for the CreateSubscription service.

Parameters:
a_pEndpoint configured endpoints for the server.
a_hCallContext Callback context used for the transaction.
a_pRequest the request of the current send information.
a_pRequestType the type of the Request.
Returns:
OPC UA status code

OpcUa_StatusCode UaServer::ModifySubscription ( OpcUa_Endpoint  a_pEndpoint,
OpcUa_Handle  a_hCallContext,
OpcUa_ModifySubscriptionRequest *  a_pRequest,
OpcUa_EncodeableType *  a_pRequestType 
)

The implementation for the ModifySubscription service.

Parameters:
a_pEndpoint configured endpoints for the server.
a_hCallContext Callback context used for the transaction.
a_pRequest the request of the current send information.
a_pRequestType the type of the Request.
Returns:
OPC UA status code

OpcUa_StatusCode UaServer::SetPublishingMode ( OpcUa_Endpoint  a_pEndpoint,
OpcUa_Handle  a_hCallContext,
OpcUa_SetPublishingModeRequest *  a_pRequest,
OpcUa_EncodeableType *  a_pRequestType 
)

The implementation for the SetPublishingMode service.

Parameters:
a_pEndpoint configured endpoints for the server.
a_hCallContext Callback context used for the transaction.
a_pRequest the request of the current send information.
a_pRequestType the type of the Request.
Returns:
OPC UA status code

OpcUa_StatusCode UaServer::Publish ( OpcUa_Endpoint  a_pEndpoint,
OpcUa_Handle  a_hCallContext,
OpcUa_PublishRequest *  a_pRequest,
OpcUa_EncodeableType *  a_pRequestType 
)

The implementation for the Publish service.

Parameters:
a_pEndpoint configured endpoints for the server.
a_hCallContext Callback context used for the transaction.
a_pRequest the request of the current send information.
a_pRequestType the type of the Request.
Returns:
OPC UA status code

OpcUa_StatusCode UaServer::Republish ( OpcUa_Endpoint  a_pEndpoint,
OpcUa_Handle  a_hCallContext,
OpcUa_RepublishRequest *  a_pRequest,
OpcUa_EncodeableType *  a_pRequestType 
)

The implementation for the Republish service.

Parameters:
a_pEndpoint configured endpoints for the server.
a_hCallContext Callback context used for the transaction.
a_pRequest the request of the current send information.
a_pRequestType the type of the Request.
Returns:
OPC UA status code

OpcUa_StatusCode UaServer::TransferSubscriptions ( OpcUa_Endpoint  a_pEndpoint,
OpcUa_Handle  a_hCallContext,
OpcUa_TransferSubscriptionsRequest *  a_pRequest,
OpcUa_EncodeableType *  a_pRequestType 
)

The implementation for the TransferSubscriptions service.

Parameters:
a_pEndpoint configured endpoints for the server.
a_hCallContext Callback context used for the transaction.
a_pRequest the request of the current send information.
a_pRequestType the type of the Request.
Returns:
OPC UA status code

OpcUa_StatusCode UaServer::DeleteSubscriptions ( OpcUa_Endpoint  a_pEndpoint,
OpcUa_Handle  a_hCallContext,
OpcUa_DeleteSubscriptionsRequest *  a_pRequest,
OpcUa_EncodeableType *  a_pRequestType 
)

The implementation for the DeleteSubscriptions service.

Parameters:
a_pEndpoint configured endpoints for the server.
a_hCallContext Callback context used for the transaction.
a_pRequest the request of the current send information.
a_pRequestType the type of the Request.
Returns:
OPC UA status code

OpcUa_StatusCode UaServer::CreateMonitoredItems ( OpcUa_Endpoint  a_pEndpoint,
OpcUa_Handle  a_hCallContext,
OpcUa_CreateMonitoredItemsRequest *  a_pRequest,
OpcUa_EncodeableType *  a_pRequestType 
)

The implementation for the CreateMonitoredItems service.

Parameters:
a_pEndpoint configured endpoints for the server.
a_hCallContext Callback context used for the transaction.
a_pRequest the request of the current send information.
a_pRequestType the type of the Request.
Returns:
OPC UA status code

OpcUa_StatusCode UaServer::ModifyMonitoredItems ( OpcUa_Endpoint  a_pEndpoint,
OpcUa_Handle  a_hCallContext,
OpcUa_ModifyMonitoredItemsRequest *  a_pRequest,
OpcUa_EncodeableType *  a_pRequestType 
)

The implementation for the ModifyMonitoredItems service.

Parameters:
a_pEndpoint configured endpoints for the server.
a_hCallContext Callback context used for the transaction.
a_pRequest the request of the current send information.
a_pRequestType the type of the Request.
Returns:
OPC UA status code

OpcUa_StatusCode UaServer::SetMonitoringMode ( OpcUa_Endpoint  a_pEndpoint,
OpcUa_Handle  a_hCallContext,
OpcUa_SetMonitoringModeRequest *  a_pRequest,
OpcUa_EncodeableType *  a_pRequestType 
)

The implementation for the SetMonitoringMode service.

Parameters:
a_pEndpoint configured endpoints for the server.
a_hCallContext Callback context used for the transaction.
a_pRequest the request of the current send information.
a_pRequestType the type of the Request.
Returns:
OPC UA status code

OpcUa_StatusCode UaServer::SetTriggering ( OpcUa_Endpoint  a_pEndpoint,
OpcUa_Handle  a_hCallContext,
OpcUa_SetTriggeringRequest *  a_pRequest,
OpcUa_EncodeableType *  a_pRequestType 
)

The implementation for the SetTriggering service.

Parameters:
a_pEndpoint configured endpoints for the server.
a_hCallContext Callback context used for the transaction.
a_pRequest the request of the current send information.
a_pRequestType the type of the Request.
Returns:
OPC UA status code

OpcUa_StatusCode UaServer::DeleteMonitoredItems ( OpcUa_Endpoint  a_pEndpoint,
OpcUa_Handle  a_hCallContext,
OpcUa_DeleteMonitoredItemsRequest *  a_pRequest,
OpcUa_EncodeableType *  a_pRequestType 
)

The implementation for the DeleteMonitoredItems service.

Parameters:
a_pEndpoint configured endpoints for the server.
a_hCallContext Callback context used for the transaction.
a_pRequest the request of the current send information.
a_pRequestType the type of the Request.
Returns:
OPC UA status code

void UaServer::secureChannelCreated ( OpcUa_UInt32  uSecureChannelId,
OpcUa_StatusCode  uStatus,
const UaString sSecurityPolicy,
OpcUa_UInt16  uSecurityMode,
const UaByteString clientCertificate 
)

Event to inform server about creation of a secure channel.

Parameters:
uSecureChannelId the SecureChannelId to be created.
uStatus Error code
sSecurityPolicy The security policy in case of open or renew.
uSecurityMode The security mode, if the event type refers to a secure channel.
clientCertificate the certificate the Client sends to the Server.

void UaServer::secureChannelDeleted ( OpcUa_UInt32  uSecureChannelId  ) 

Event to inform server about deletion of a secure channel.

Parameters:
uSecureChannelId the SecureChannelId to be deleted.


The documentation for this class was generated from the following files:
  • src/uaserver/uaservercpp/uamodule/uaserver.h
  • src/uaserver/uaservercpp/uamodule/uaserver.cpp