PacketAssembler Class
Module: opcua.transport
Constructor
PacketAssembler
(
-
options
Parameters:
-
optionsObject-
readMessageFuncFunctiona function to read
-
minimumSizeInBytesIntegerthe 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:
-
objObject: object to test ( the object must provide a binaryStoreSize,encode,decode method
-
[options]Object optional -
callback_bufferObject
Returns:
:
extract_values
(
-
array -
[dimensions = null]
Parameters:
-
arrayArrayflat 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:
-
bufferBuffer -
idObject -
paddingInteger -
offsetInteger -
custom_optionsObject-
factoryObject-
constructObjectFunction
-
-
The NodeOPCUA API