CreateSessionResponse Class
packages\node-opcua-service-session\index.js:11
Creates a new session with the server.
Constructor
CreateSessionResponse
-
options
Parameters:
-
options
Object-
[responseHeader]
ResponseHeader optionalA standard header included in all responses returned by servers.
-
[sessionId]
NodeId optionalA identifier which uniquely identifies the session.
-
[authenticationToken]
SessionAuthenticationToken optionalThe token used to authenticate the client in subsequent requests.
-
[revisedSessionTimeout]
Duration optionalThe session timeout in milliseconds.
-
[serverNonce]
ByteString optionalA random number generated by the server.
-
[serverCertificate]
ByteString optionalThe application certificate for the server.
-
[serverEndpoints]
EndpointDescription[] optionalThe endpoints provided by the server.
-
[serverSoftwareCertificates]
SignedSoftwareCertificate[] optionalThe software certificates owned by the server.
-
[serverSignature]
SignatureData optionalA signature created with the server certificate.
-
[maxRequestMessageSize]
UInt32 optionalThe maximum message size accepted by the server.
-
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
authenticationToken
SessionAuthenticationToken
The token used to authenticate the client in subsequent requests.
maxRequestMessageSize
UInt32
The maximum message size accepted by the server.
revisedSessionTimeout
Duration
The session timeout in milliseconds.
serverCertificate
ByteString
The application certificate for the server.
serverNonce
ByteString
A random number generated by the server.
serverSoftwareCertificates
SignedSoftwareCertificate[]
The software certificates owned by the server.