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.
Initialize the server transport.
The ServerTCP_transport initialization process starts by waiting for the client to send a "HEL" message.
The ServerTCP_transport replies with a "ACK" message and then start waiting for further messages of any size.
The callback function received an error:
self.timeout period,self.protocolVersionwrite the message_chunk on the socket.
Notes:
createChunk.createChunk again.Generated using TypeDoc
indicates the version number of the OPCUA protocol used