SecureMessageChunkManager Class
Module: opcua.miscellaneous
Constructor
SecureMessageChunkManager
(
-
msgType
-
options
-
securityHeader
-
sequenceNumberGenerator
Parameters:
-
msgType
Object -
options
Object-
chunkSize
Integer[=8192]
-
secureChannelId
-
requestId
-
signatureLength
Number[undefined]
-
signingFunc
Function[undefined]
-
-
securityHeader
Object -
sequenceNumberGenerator
Object
Methods
abort
()
end
()
messageHeaderToString
(
String
-
messageChunk
convert the messageChunk header to a string
Parameters:
-
messageChunk
BinaryStream
Returns:
String:
write
(
-
buffer
-
length
Parameters:
-
buffer
Buffer -
length
Integer- optional if not provided buffer.length is used instead.
Events
chunk
Event Payload:
-
chunk
Buffer