![]() |
libzmq master
The Intelligent Transport Layer
|
#include <io_object.hpp>
Inheritance diagram for zmq::io_object_t:
Collaboration diagram for zmq::io_object_t:Public Member Functions | |
| io_object_t (class io_thread_t *io_thread_=NULL) | |
| ~io_object_t () | |
| void | plug (class io_thread_t *io_thread_) |
| void | unplug () |
Protected Types | |
| typedef poller_t::handle_t | handle_t |
Protected Member Functions | |
| handle_t | add_fd (fd_t fd_) |
| void | add_timer (int timout_, int id_) |
| void | cancel_timer (int id_) |
| void | in_event () |
| void | out_event () |
| void | reset_pollin (handle_t handle_) |
| void | reset_pollout (handle_t handle_) |
| void | rm_fd (handle_t handle_) |
| void | set_pollin (handle_t handle_) |
| void | set_pollout (handle_t handle_) |
| void | timer_event (int id_) |
Private Member Functions | |
| io_object_t (const io_object_t &) | |
| const io_object_t & | operator= (const io_object_t &) |
Private Attributes | |
| poller_t * | poller |
Definition at line 38 of file io_object.hpp.
typedef poller_t::handle_t zmq::io_object_t::handle_t [protected] |
Definition at line 52 of file io_object.hpp.
| zmq::io_object_t::io_object_t | ( | class io_thread_t * | io_thread_ = NULL | ) |
Definition at line 26 of file io_object.cpp.
References plug().
Here is the call graph for this function:| zmq::io_object_t::~io_object_t | ( | ) |
Definition at line 33 of file io_object.cpp.
| zmq::io_object_t::io_object_t | ( | const io_object_t & | ) | [private] |
| zmq::io_object_t::handle_t zmq::io_object_t::add_fd | ( | fd_t | fd_ | ) | [protected] |
Definition at line 55 of file io_object.cpp.
| void zmq::io_object_t::add_timer | ( | int | timout_, |
| int | id_ | ||
| ) | [protected] |
Definition at line 85 of file io_object.cpp.
| void zmq::io_object_t::cancel_timer | ( | int | id_ | ) | [protected] |
Definition at line 90 of file io_object.cpp.
| void zmq::io_object_t::in_event | ( | ) | [protected, virtual] |
Implements zmq::i_poll_events.
Reimplemented in zmq::ipc_connecter_t, zmq::ipc_listener_t, zmq::stream_engine_t, zmq::tcp_connecter_t, and zmq::tcp_listener_t.
Definition at line 95 of file io_object.cpp.
References zmq_assert.
| const io_object_t& zmq::io_object_t::operator= | ( | const io_object_t & | ) | [private] |
| void zmq::io_object_t::out_event | ( | ) | [protected, virtual] |
Implements zmq::i_poll_events.
Reimplemented in zmq::ipc_connecter_t, zmq::stream_engine_t, and zmq::tcp_connecter_t.
Definition at line 100 of file io_object.cpp.
References zmq_assert.
| void zmq::io_object_t::plug | ( | class io_thread_t * | io_thread_ | ) |
Definition at line 37 of file io_object.cpp.
References zmq::io_thread_t::get_poller(), and zmq_assert.
Referenced by io_object_t(), and zmq::stream_engine_t::plug().
Here is the call graph for this function:
Here is the caller graph for this function:| void zmq::io_object_t::reset_pollin | ( | handle_t | handle_ | ) | [protected] |
Definition at line 70 of file io_object.cpp.
| void zmq::io_object_t::reset_pollout | ( | handle_t | handle_ | ) | [protected] |
Definition at line 80 of file io_object.cpp.
| void zmq::io_object_t::rm_fd | ( | handle_t | handle_ | ) | [protected] |
Definition at line 60 of file io_object.cpp.
| void zmq::io_object_t::set_pollin | ( | handle_t | handle_ | ) | [protected] |
Definition at line 65 of file io_object.cpp.
| void zmq::io_object_t::set_pollout | ( | handle_t | handle_ | ) | [protected] |
Definition at line 75 of file io_object.cpp.
| void zmq::io_object_t::timer_event | ( | int | id_ | ) | [protected, virtual] |
Implements zmq::i_poll_events.
Reimplemented in zmq::ipc_connecter_t, zmq::session_base_t, and zmq::tcp_connecter_t.
Definition at line 105 of file io_object.cpp.
References zmq_assert.
| void zmq::io_object_t::unplug | ( | ) |
Reimplemented in zmq::stream_engine_t.
Definition at line 46 of file io_object.cpp.
References zmq_assert.
Referenced by zmq::stream_engine_t::unplug().
Here is the caller graph for this function:poller_t* zmq::io_object_t::poller [private] |
Definition at line 71 of file io_object.hpp.
1.7.3