Called when a new child channel needs to be created under the router.
Called when a new child channel needs to be created under the router.
Channel identifier
Global identifier for the channel
The router
Metadata needed for creating a correct channel
Reader for reading additional data from the stream
A newly created MessageChannel
Called when a child channel will be closed.
Called when a child channel will be closed.
Global channel identifier
Called when a message has been queued by the router.
Called when a message has been queued by the router. This callback can be used to determine when there are pending messages that can be flushed.
Builds a new instance of PickleState
when needed for pickling messages.
Called when the router itself is closing due to a request from the other router.
Builds a new instance of UnpickleState
when needed for unpickling messages.
External interface for the router.
Type for materialization metadata, used when creating new channels under the router