mirror of
https://github.com/zeromq/libzmq.git
synced 2025-11-07 14:37:36 +01:00
Change name of icanhasall to subscribe_to_all
icanhasall is cute (for now), but the effect of the variable is clear only after tracking down its origin reading the commit. This change is intended to make it easier for people to have some intuition about its effect from its name.
This commit is contained in:
@@ -125,7 +125,7 @@ namespace zmq
|
||||
// Concrete algorithms for the x- methods are to be defined by
|
||||
// individual socket types.
|
||||
virtual void xattach_pipe (zmq::pipe_t *pipe_,
|
||||
bool icanhasall_ = false) = 0;
|
||||
bool subscribe_to_all_ = false) = 0;
|
||||
|
||||
// The default implementation assumes there are no specific socket
|
||||
// options for the particular socket type. If not so, overload this
|
||||
@@ -197,7 +197,7 @@ namespace zmq
|
||||
int check_protocol (const std::string &protocol_);
|
||||
|
||||
// Register the pipe with this socket.
|
||||
void attach_pipe (zmq::pipe_t *pipe_, bool icanhasall_ = false);
|
||||
void attach_pipe (zmq::pipe_t *pipe_, bool subscribe_to_all_ = false);
|
||||
|
||||
// Processes commands sent to this socket (if any). If timeout is -1,
|
||||
// returns only after at least one command was processed.
|
||||
|
||||
Reference in New Issue
Block a user