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>
Public Member Functions | |
UaServer () | |
virtual | ~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) |
virtual UaStatus | translateBrowsePathsToNodeIds (const ServiceContext &serviceContext, OpcUa_TranslateBrowsePathsToNodeIdsRequest *pRequest, OpcUa_TranslateBrowsePathsToNodeIdsResponse *pResponse) |
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) |
Protected Member Functions | |
virtual UaTransactionManager * | createUaTransactionManager (ServerManager *pServerManager, UaSubscriptionManager *pUaSubscriptionManager) |
virtual UaSubscriptionManager * | createUaSubscriptionManager (ServerManager *pServerManager) |
virtual void | validateEndpoints (UaEndpointArray &) |
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::UaServer | ( | ) |
Constructs a UaServer object with default values
UaServer::~UaServer | ( | ) | [virtual] |
Destroys the UaServer object.
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.
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. |
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.
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. |
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.
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. |
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.
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. |
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.
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. |
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.
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. |
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.
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. |
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.
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. |
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.
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. |
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.
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. |
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.
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. |
UaSubscriptionManager * UaServer::createUaSubscriptionManager | ( | ServerManager * | pServerManager ) | [protected, virtual] |
This function creates the UaSubscriptionManager. The virtual function can be overwritten by a derived class to create a class derived from UaSubscriptionManager instead of UaSubscriptionManager. An instance of a derived class of UaServer can be passed to UaModule::initialize() to force the UaModule to use this instance instead of creating a UaServer
UaTransactionManager * UaServer::createUaTransactionManager | ( | ServerManager * | pServerManager, |
UaSubscriptionManager * | pUaSubscriptionManager | ||
) | [protected, virtual] |
This function creates the UaTransactionManager. The virtual function can be overwritten by a derived class to create a class derived from UaTransactionManager instead of UaTransactionManager. An instance of a derived class of UaServer can be passed to UaModule::initialize() to force the UaModule to use this instance instead of creating a UaServer
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.
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. |
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.
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. |
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.
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. |
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.
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. |
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.
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. |
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.
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. |
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.
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. |
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.
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. |
UaStatus UaServer::initStackSettings | ( | ServerConfig * | pServerConfig ) |
Initialize stack from configuration.
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.
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. |
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.
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. |
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.
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. |
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.
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. |
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.
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. |
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.
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. |
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.
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.
uSecureChannelId | the SecureChannelId to be deleted. |
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.
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. |
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.
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. |
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.
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. |
UaStatus UaServer::shutDown | ( | ) |
Shut down method for OPC UA server.
UaStatus UaServer::startUp | ( | ServerManager * | pServerManager ) |
Start up method for OPC UA server.
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.
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. |
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.
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. |
UaStatus UaServer::translateBrowsePathsToNodeIds | ( | const ServiceContext & | serviceContext, |
OpcUa_TranslateBrowsePathsToNodeIdsRequest * | pRequest, | ||
OpcUa_TranslateBrowsePathsToNodeIdsResponse * | pResponse | ||
) | [virtual] |
The core implementation for the TranslateBrowsePathsToNodeIds service. This method is called from TranslateBrowsePathsToNodeIds which implements all necessary common handling for service calls. This function adds only the aquisition of the data and can be overwritte by a derived class.
serviceContext | Service context including the session context used for the UA service call. |
pRequest | The request data for the service call. |
pResponse | The response structure for the service results. |
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.
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. |
virtual void UaServer::validateEndpoints | ( | UaEndpointArray & | ) | [inline, protected, virtual] |
This method is called before the endpoints are openened to allow a modification. This allows a derived class to add or modify endpoints for special use cases like internal communication with other components of a product.
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.
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. |