createChunk
is used to construct a pre-allocated chunk to store up to length
bytes of data.
The created chunk includes a prepended header for chunk_type
of size self.headerSize
.
chunk type. should be 'F' 'C' or 'A'
a buffer object with the required length representing the chunk.
Note:
write
method before an other one is created.disconnect the TCP layer and close the underlying socket.
The "close"
event will be emitted to the observers with err=null.
write the message_chunk on the socket.
Notes:
createChunk
.createChunk
again.Generated using TypeDoc
indicates the version number of the OPCUA protocol used
0