C++ UA Server SDK
1.5.2.336
|
Callback interface for providing application control funtions through methods. More...
#include <servermanagerhelper.h>
Inherited by UaServerApplication.
Public Member Functions | |
UaApplicationControlCallback () | |
Construction. | |
virtual | ~UaApplicationControlCallback () |
Destruction. | |
virtual OpcUa_UInt32 | getEndpointCount ()=0 |
Returns the number of OPC UA endpoints in the server. More... | |
virtual UaEndpoint * | getEndpoint (OpcUa_UInt32 endpointIndex)=0 |
Returns the endpoint at the sepcified index. More... | |
virtual UaStatus | openEndpoint (OpcUa_UInt32 endpointIndex)=0 |
Opens the endpoint sepcified by the index. More... | |
virtual UaStatus | closeEndpoint (OpcUa_UInt32 endpointIndex)=0 |
Closes the endpoint sepcified by the index. More... | |
virtual UaStatus | requestServerShutDown (OpcUa_Int32 secondsTillShutdown, const UaLocalizedText &shutdownReason, OpcUa_Boolean restart)=0 |
Requests the shutdown of the OPC UA Server application. More... | |
virtual void | beforeEndpointOpen (UaEndpoint *pEndpoint, bool certificateAvailable)=0 |
Information about an endpoint that will be opened by the server. More... | |
Callback interface for providing application control funtions through methods.
This callback interface needs to be implemented if the application wants to allow control of application behaviour like server shutdown or close/reopen of endpoints to be controlled through methods in the server address space.
|
pure virtual |
Information about an endpoint that will be opened by the server.
This callbacks allows certificate checks or creation.
[in] | pEndpoint | UaEndpoint that will be opened by the server |
[in] | certificateAvailable | Flag indicating if a certificate is available |
Implemented in UaServerApplication.
|
pure virtual |
Closes the endpoint sepcified by the index.
[in] | endpointIndex | Index of the Endpoint to close |
Implemented in UaServerApplication.
|
pure virtual |
Returns the endpoint at the sepcified index.
[in] | endpointIndex | Index of the Endpoint to return |
Implemented in UaServerApplication.
|
pure virtual |
Returns the number of OPC UA endpoints in the server.
Implemented in UaServerApplication.
|
pure virtual |
Opens the endpoint sepcified by the index.
[in] | endpointIndex | Index of the Endpoint to open |
Implemented in UaServerApplication.
|
pure virtual |
Requests the shutdown of the OPC UA Server application.
[in] | secondsTillShutdown | Seconds till shutdown of the server |
[in] | shutdownReason | Reason for the shutdown |
[in] | restart | A flag indicating if the Server should be restarted after shutdown |
Implemented in UaServerApplication.