Sets or gets the default captureRejection value for all emitters.
This symbol shall be used to install a listener for only monitoring 'error'
events. Listeners installed using this symbol are called before the regular
'error'
listeners are called.
Installing a listener using this symbol does not change the behavior once an
'error'
event is emitted, therefore the process will still crash if no
regular 'error'
listener is installed.
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.protocolVersion
write the message_chunk on the socket.
Notes:
createChunk
.createChunk
again.Generated using TypeDoc
indicates the version number of the OPCUA protocol used