OPCUABaseServer Class
Defined in:
Module: opcua.server
packages\node-opcua-server\src\base_server.js:66
Constructor
OPCUABaseServer
(
-
options
Parameters:
-
optionsObject-
certificateFile -
privateKeyFile -
[serverInfo= null]optionalthe information used in the end point description
-
[applicationUri= "urn:NodeOPCUA-SimpleDemoServer"]String optional -
[productUri= "SimpleDemoServer"]String optional -
[applicationName]Text: "applicationName" optional{LocalizedText} -
[gatewayServerUri= null]String optional -
[discoveryProfileUri= null]String optional -
[discoveryUrls= []]Arrayoptional
-
-
Item Index
Methods
Properties
Methods
_on_FindServersRequest
(
private
-
message -
channel
Parameters:
-
messageObject -
channelObject
_on_GetEndpointsRequest
(
private
-
message -
channel
Parameters:
-
messageObject -
channelObject
getChannels
()
Arrayreturns a array of currently active channels
Returns:
Array :
iterate_on_signed_message_chunks
(
-
buffer -
callback
Parameters:
-
bufferObject -
callbackFunction-
errError -
chunksArray
-
makeServiceFault
(
-
statusCode -
messages
construct a service Fault response
Parameters:
-
statusCodeObject -
messagesObject
resumeEndPoints
(
-
callback
set all the end point into a state where they do accept connections
Parameters:
-
callbackFunction
shutdown
(
async
-
done
shutdown all server endPoints
Parameters:
-
doneCallback-
errError | Null
-
start
(
async
-
done
start all registered endPoint, in parallel, and call done when all endPoints are listening.
Parameters:
-
doneCallback
suspendEndPoints
(
-
callback
set all the end point into a state where they do not accept further connections
Parameters:
-
callbackFunction
Properties
serverType
ApplicationType
The type of server : SERVER, CLIENTANDSERVER, DISCOVERYSERVER
The NodeOPCUA API