Calls a function that will be processed as soon as it is received.
Name of method to call
Optional arguments
Id number of this request
Calls a function that will be processed in order with other messages.
Name of method to call
Optional arguments
Id number of this request
Get the serialized version of this object. Used to store the state and to later restore it using LibTopOptions.restoreState.
Accepts and processes a message coming from the other side.
Array of ReceivedMessage objects or a single ReceivedMessage object or a Buffer that will be treated as a single complete full message.
Object containing the processed message
Emit message with all unsent data
Send event without ordering
Event to send
Send event with guaranteed ordering
Event to send
Sends a response to the function call associated with the given id.
Id number of the request
Optional response Buffer
Set to true to signify an error, ignore otherwise.
Generated using TypeDoc
Handles application-level calls and packages them into efficient opaque messages.