OPCUABaseServer Class
Defined in:
Module: opcua.server
packages\node-opcua-server\src\base_server.js:66
Constructor
OPCUABaseServer
(
-
options
Parameters:
-
options
Object-
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:
-
message
Object -
channel
Object
_on_GetEndpointsRequest
(
private
-
message
-
channel
Parameters:
-
message
Object -
channel
Object
getChannels
()
Arrayreturns a array of currently active channels
Returns:
Array :
iterate_on_signed_message_chunks
(
-
buffer
-
callback
Parameters:
-
buffer
Object -
callback
Function-
err
Error -
chunks
Array
-
makeServiceFault
(
-
statusCode
-
messages
construct a service Fault response
Parameters:
-
statusCode
Object -
messages
Object
resumeEndPoints
(
-
callback
set all the end point into a state where they do accept connections note: this method is useful for testing purpose
Parameters:
-
callback
Function
shutdown
(
async
-
done
shutdown all server endPoints
Parameters:
-
done
Callback-
err
Error | Null
-
start
(
async
-
done
start all registered endPoint, in parallel, and call done when all endPoints are listening.
Parameters:
-
done
Callback
suspendEndPoints
(
-
callback
set all the end point into a state where they do not accept further connections
note: this method is useful for testing purpose
Parameters:
-
callback
Function
Properties
serverType
ApplicationType
The type of server : SERVER, CLIENTANDSERVER, DISCOVERYSERVER