Dequeue

Tag 8: the client withdraws every message from the queue of the running loop; the server opens the proxy’s /agent/dequeue and relays exactly one channel response stating whether the queue held anything.

The client opens this channel to withdraw every message waiting in the queue of the running loop. The server opens /agent/dequeue on the proxy and relays its answer.

  • The request. The tag byte 8 and nothing more. Request states its form.
  • The response. Exactly one channel response and the channel response finish. Response states the sequence.
  • The messages withdrawn. Each message withdrawn is answered on its own enqueue channel with the byte 1, as the proxy answers it.