CreateSessionRequest Class
packages\node-opcua-service-session\index.js:7
Creates a new session with the server.
Constructor
CreateSessionRequest
-
options
Parameters:
-
options
Object-
[requestHeader]
RequestHeader optional -
[clientDescription]
ApplicationDescription optionalDescribes the client application.
-
[serverUri]
String optionalThe URI of the server that the client wants to create a session with.
-
[endpointUrl]
String optionalThe URL that the client used to connect to the server.
-
[sessionName]
String optionalA name for the session provided by the client.
-
[clientNonce]
ByteString optionalA random number generated by the client.
-
[clientCertificate]
ByteString optionalThe application certificate for the client.
-
[requestedSessionTimeout]
Duration optionalThe requested session timeout in milliseconds.
-
[maxResponseMessageSize]
UInt32 optionalThe maximum message size accepted by the client.
-
Item Index
Methods
binaryStoreSize
()
Number
Calculate the required size to store this object in a binary stream.
Returns:
decode
-
stream
-
[option]
decode the object from a binary stream
Parameters:
-
stream
BinaryStream -
[option]
Object optional
decode_debug
()
isValid
()
Boolean
verify that all object attributes values are valid according to schema
Returns:
toString
()
String
Returns:
Properties
clientCertificate
ByteString
The application certificate for the client.
clientNonce
ByteString
A random number generated by the client.
endpointUrl
String
The URL that the client used to connect to the server.
maxResponseMessageSize
UInt32
The maximum message size accepted by the client.
requestedSessionTimeout
Duration
The requested session timeout in milliseconds.
serverUri
String
The URI of the server that the client wants to create a session with.
sessionName
String
A name for the session provided by the client.