The message to emit.
The direction that the message was sent.
Additional metadata for the message, e.g. the context.
Emit a decoded message to all listeners serially, also emits the message's children recursively.
The message to emit.
The direction that the message was sent.
Additional metadata for the message, e.g. the context.
Get all listeners for a packet.
The packet to get listeners for.
All listeners for the packet.
Remove a listener from a message.
The message to listen for.
The listener to remove.
Remove a listener from several messages being listened to.
The message to listen for.
The listener to remove.
Listen to a message being sent through the decoder.
The message to listen for.
The callback for when the message is decoded.
A function to remove the listener.
Listen to a message being sent through the decoder.
A function to remove the listener.
Listen to any of several messages being sent through the decoder.
The messages to listen for.
The callback for when one of the messages is decoded.
A function to remove the listener.
Listen to any of several messages being sent through the decoder.
A function to remove the listener.
Listen to a message being sent through the decoder once.
The message to listen for.
The callback for when the message is decoded.
A function to remove the listener.
Listen to a message being sent through the decoder once.
A function to remove the listener.
Listen to any of several messages being sent through the decoder once.
The messages to listen for.
The callback for when one of the messages is decoded.
A function to remove the listener.
Listen to any of several messages being sent through the decoder once.
A function to remove the listener.
Parse a buffer or reader in place, without emitting the resultant message.
The buffer or reader to parse.
The direction that the packet was sent.
The parsed message.
Register a message or several messages to the packet decoder.
The packet or packets to register.
Reset the packet decoder, removing all custom packets and removing listeners.
Asynchronously wait for a message to be decoded.
The message to listen for.
A promise containing the message, direciton and context metadata for the message.
Asynchronously wait for a specific message to be decoded.
The message to listen for.
A filter for the message to wait for.
A function to remove the listener.
Write a buffer or reader to the decoder.
The buffer or reader to decode.
The direction that the packet was sent.
Additional metadata for the context.
Generated using TypeDoc
Emit a decoded message to all listeners concurrently, also emits the message's children recursively.