![]() |
libzmq master
The Intelligent Transport Layer
|
#include <mailbox.hpp>
Public Member Functions | |
mailbox_t () | |
~mailbox_t () | |
fd_t | get_fd () |
int | recv (command_t *cmd_, int timeout_) |
void | send (const command_t &cmd_) |
Private Types | |
typedef ypipe_t< command_t, command_pipe_granularity > | cpipe_t |
Private Member Functions | |
mailbox_t (const mailbox_t &) | |
const mailbox_t & | operator= (const mailbox_t &) |
Private Attributes | |
bool | active |
cpipe_t | cpipe |
signaler_t | signaler |
mutex_t | sync |
Definition at line 38 of file mailbox.hpp.
typedef ypipe_t<command_t, command_pipe_granularity> zmq::mailbox_t::cpipe_t [private] |
Definition at line 52 of file mailbox.hpp.
zmq::mailbox_t::mailbox_t | ( | ) |
Definition at line 25 of file mailbox.cpp.
References active, cpipe, zmq::ypipe_t< T, N >::read(), and zmq_assert.
zmq::mailbox_t::~mailbox_t | ( | ) |
Definition at line 35 of file mailbox.cpp.
zmq::mailbox_t::mailbox_t | ( | const mailbox_t & | ) | [private] |
zmq::fd_t zmq::mailbox_t::get_fd | ( | ) |
Definition at line 40 of file mailbox.cpp.
Referenced by zmq::io_thread_t::io_thread_t(), and zmq::reaper_t::reaper_t().
int zmq::mailbox_t::recv | ( | command_t * | cmd_, |
int | timeout_ | ||
) |
Definition at line 55 of file mailbox.cpp.
References errno_assert, and zmq_assert.
void zmq::mailbox_t::send | ( | const command_t & | cmd_ | ) |
Definition at line 45 of file mailbox.cpp.
bool zmq::mailbox_t::active [private] |
Definition at line 66 of file mailbox.hpp.
Referenced by mailbox_t().
cpipe_t zmq::mailbox_t::cpipe [private] |
Definition at line 53 of file mailbox.hpp.
Referenced by mailbox_t().
signaler_t zmq::mailbox_t::signaler [private] |
Definition at line 56 of file mailbox.hpp.
mutex_t zmq::mailbox_t::sync [private] |
Definition at line 62 of file mailbox.hpp.