PacketAssembler Class
Module: opcua.transport
Constructor
PacketAssembler
(
-
options
Parameters:
-
options
Object-
readMessageFunc
Functiona function to read
-
minimumSizeInBytes
Integerthe minimum number of bytes that need to be received before the readMessageFunc can be called
-
Item Index
Methods
encode_decode_round_trip_test
(
-
obj
-
[options]
-
callback_buffer
Parameters:
-
obj
Object: object to test ( the object must provide a binaryStoreSize,encode,decode method
-
[options]
Object optional -
callback_buffer
Object
Returns:
:
extract_values
(
-
array
-
[dimensions = null]
Parameters:
-
array
Arrayflat array containing values
-
[dimensions = null]
Arrayoptional dimension of the matrix if data is a matrix
Returns:
:
packet_analyzer
(
-
buffer
-
id
-
padding
-
offset
-
custom_options
Parameters:
-
buffer
Buffer -
id
Object -
padding
Integer -
offset
Integer -
custom_options
Object-
factory
Object-
constructObject
Function
-
-