#include <ConnHandler.h>
Public Types | |
| typedef Channel::IdType | IdType |
| typedef Channel::IdTrait | IdTrait |
| typedef Channel::Msg | Msg |
| typedef Connector< Channel, Transport > | Connector |
| typedef ConnHandler< Channel, Transport > | ConnHandlerType |
| typedef RemoteInterface< Channel, Transport > | RemoteInterface |
Public Member Functions | |
| ConnHandler () | |
| virtual | ~ConnHandler () |
| virtual ACE_SOCK_Stream & | peer_stream (void)=0 |
| virtual void | shut_down (void)=0 |
| int | set_up (Connector *c, Interface_Role r) |
| setup framework with RemoteInterface, Connector and Channel | |
| int | service (void) |
| main func to handler thread | |
| Status | handle_message (Msg *msg) |
| int | recv_message (Msg *&msg) |
| read from connection & demarshal data | |
| int | send_msg (Msg *msg) |
| marshal data & write outgoing msgs | |
Public Attributes | |
| Connector * | cm_ |
| ConnInfo | rmt_addr_ |
| RemoteInterface * | intf_ |
Definition at line 37 of file ConnHandler.h.
|
|||||
|
Definition at line 42 of file ConnHandler.h. |
|
|||||
|
Definition at line 43 of file ConnHandler.h. |
|
|||||
|
Definition at line 40 of file ConnHandler.h. |
|
|||||
|
Definition at line 39 of file ConnHandler.h. |
|
|||||
|
Definition at line 41 of file ConnHandler.h. |
|
|||||
|
Definition at line 44 of file ConnHandler.h. |
|
|||||||||
|
Definition at line 50 of file ConnHandler.h. |
|
|||||||||
|
Definition at line 52 of file ConnHandler.h. |
|
||||||||||
|
Definition at line 109 of file ConnHandler.h. Referenced by channel::ConnHandler< Channel, TcpSockTransport< Channel > >::service(). |
|
||||||||||
|
the interface to remote peer, need more generic interface when connections are not tcp_sock or unix_sock Implemented in channel::Tcp_ConnHandler< Channel >, and channel::Unix_ConnHandler< Channel >. |
|
||||||||||
|
read from connection & demarshal data
Definition at line 115 of file ConnHandler.h. Referenced by channel::ConnHandler< Channel, TcpSockTransport< Channel > >::service(). |
|
||||||||||
|
marshal data & write outgoing msgs
Definition at line 189 of file ConnHandler.h. Referenced by channel::OutputMgr< Channel, ConnHandler >::send(). |
|
||||||||||
|
main func to handler thread
Definition at line 79 of file ConnHandler.h. |
|
||||||||||||||||
|
setup framework with RemoteInterface, Connector and Channel
Definition at line 59 of file ConnHandler.h. |
|
||||||||||
|
Implemented in channel::Tcp_ConnHandler< Channel >, and channel::Unix_ConnHandler< Channel >. |
|
|||||
|
Definition at line 46 of file ConnHandler.h. Referenced by channel::ConnHandler< Channel, TcpSockTransport< Channel > >::service(), and channel::ConnHandler< Channel, TcpSockTransport< Channel > >::set_up(). |
|
|||||
|
|||||
1.4.6-NO