Low Level Protocol
Gatekeeper PUB -> Master tcp:10004 SUB
Master subscribes to "" (all messages)
domain | status | identifier | receive timestamp |
delayed timestamp |
loginfo |
---|---|---|---|---|---|
0 | 1 | 2 | 3 | 4 | 5 |
The domain should be encoded with a trailing null ("\0"), which will be stripped off by the recipient. This ensures it is usable as a pubsub key. Domains should not contain nulls in their names.
- "ACCEPTED": Request was accepted
- "DELAYED": Request was delayed
- "REJECTED": Request was rejected
As milliseconds since 1970, formatted as ASCII decimal. The time when the request was received at the gatekeeper.
For DELAYED messages, the time at which the request was forwarded to the resource. For ACCEPTED and REJECTED messages, this frame is zero-length.
Unspecified.
Gatekeeper SUB -> Master tcp:10005 PUB
Gatekeeper subscribes to all domains for which it will receive traffic.
domain | command | identifier | arguments... |
---|---|---|---|
0 | 1 | 2 | 3+ |
The domain should be encoded with a trailing null ("\0"), which will be stripped off by the recipient. This ensures it is usable as a pubsub key. Domains should not contain nulls in their names.
Instructs gatekeepers that requests from clients identified by identifier
should not be allowed before a given time.
- Frame 3: Next request timestamp.