A socket of type ZMQ::Socket::Rep is used by a service to receive requests from and send replies to a client. This socket type allows only an alternating sequence of ZMQ::Socket#recv and subsequent ZMQ::Socket#send calls. Each request received is fair-queued from among all clients, and each reply sent is routed to the client that issued the last request. If the original requester doesn’t exist any more the reply is silently discarded.
When a ZMQ::Socket::Rep socket enters an exceptional state due to having reached the high water mark for a client, then any replies sent to the client in question shall be dropped until the exceptional state ends.
Bidirectional
Receive, Send, Receive, Send, …
Fair-queued
Last peer
Drop
Generated with the Darkfish Rdoc Generator 2.