Module: Mycel::Channel

Defined in:
lib/mycel.rb

Overview

Layer 3: Channel — multiplexed Command/Job sessions

Defined Under Namespace

Modules: Message Classes: Command, Context, Hub, Job, Session

Constant Summary collapse

DIR_COMMAND =
:command
DIR_JOB =
:job
PROTOCOL_VERSION =

Wire-protocol revision. Stamped onto every message so peers can detect incompatible counterparts and refuse with :version_mismatch instead of silently mis-decoding. Bump when the wire format changes in a backward-incompatible way (new mandatory fields, renames, different framing). Receivers default missing ā€˜v’ to the current version so a peer running this exact build remains compatible with itself even if the field is stripped en route.

1