libzmq  master
ZeroMQ C++ Core Engine (LIBZMQ)
proxy.cpp File Reference
#include "precompiled.hpp"
#include <stddef.h>
#include "poller.hpp"
#include "proxy.hpp"
#include "likely.hpp"
#include <poll.h>
#include "socket_base.hpp"
#include "err.hpp"
#include "../include/zmq.h"
Include dependency graph for proxy.cpp:

Go to the source code of this file.

Functions

int capture (class zmq::socket_base_t *capture_, zmq::msg_t &msg_, int more_=0)
 
int forward (class zmq::socket_base_t *from_, class zmq::socket_base_t *to_, class zmq::socket_base_t *capture_, zmq::msg_t &msg_)
 

Function Documentation

int capture ( class zmq::socket_base_t capture_,
zmq::msg_t msg_,
int  more_ = 0 
)

Definition at line 52 of file proxy.cpp.

References zmq::msg_t::copy(), zmq::msg_t::init(), zmq::socket_base_t::send(), unlikely, and ZMQ_SNDMORE.

Referenced by forward(), and zmq::proxy().

Here is the call graph for this function:

Here is the caller graph for this function:

int forward ( class zmq::socket_base_t from_,
class zmq::socket_base_t to_,
class zmq::socket_base_t capture_,
zmq::msg_t msg_ 
)

Definition at line 73 of file proxy.cpp.

References capture(), zmq::socket_base_t::getsockopt(), zmq::socket_base_t::recv(), zmq::socket_base_t::send(), unlikely, ZMQ_RCVMORE, and ZMQ_SNDMORE.

Referenced by zmq::proxy().

Here is the call graph for this function:

Here is the caller graph for this function: