Available on crate feature
deploy and (crate features docker_runtime or ecs_runtime) only.Structs§
- Channel
Handshake - Handshake message sent by the connecting side to identify the channel.
- Channel
Magic - Magic header sent as the very first frame of every channel handshake.
- Channel
Mux - A shared accept loop that listens on a single port and dispatches incoming connections to the right consumer based on the channel name sent in the handshake.
- Channel
Protocol Version - Protocol version sent as the second frame, after
ChannelMagic. - Socket
Ident
Constants§
- CHANNEL_
MAGIC - Magic constant embedded in every
ChannelMagicheader. - CHANNEL_
MUX_ PORT - The single well-known port that every node listens on.
- CHANNEL_
PROTOCOL_ VERSION - Current protocol version for the channel handshake.
Functions§
- cluster_
ids - cluster_
membership_ stream docker_runtime - cluster_
self_ id docker_runtime - deploy_
containerized_ external_ sink_ source_ ident - deploy_
containerized_ m2m - deploy_
containerized_ m2o - deploy_
containerized_ o2m - deploy_
containerized_ o2o - get_
or_ init_ channel_ mux - Get or initialize the global ChannelMux for this process.
- send_
handshake - Sends a
ChannelMagic, then aChannelProtocolVersion, then aChannelHandshakeas three separate frames over the given sink.