mirror of
https://github.com/zeromq/libzmq.git
synced 2025-11-05 04:37:52 +01:00
Implement flow control
This commit introduces the necessary changes necessary for implementing flow control. None of the socket types implements the flow control yet. The code will crash when the flow control is enabled and the thw lwm is reached. The following commits will add flow-control support for individual socket types.
This commit is contained in:
@@ -41,6 +41,8 @@ namespace zmq
|
||||
// are messages to send available.
|
||||
virtual void revive () = 0;
|
||||
|
||||
virtual void resume_input () = 0;
|
||||
|
||||
// Engine should add the prefix supplied to all inbound messages.
|
||||
virtual void add_prefix (const blob_t &identity_) = 0;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user