#include <UnixSockConnector.h>
Public Member Functions | |
UnixSockTransport (Connector *c) | |
std::string | unix_addr (void) |
Status | get_map_index (ConnInfo &addr) |
return unix addr as the index of conn_map_ | |
Status | open (ConnInfo ci) |
start listening at addr(ci) for remote connections | |
Status | close (void) |
Status | connect (ConnInfo addr, ConnHandler *&conn_handler) |
actively connect to remote channel | |
Status | disconnect (ConnInfo addr) |
Static Public Member Functions | |
static Interface_Type | type (void) |
Private Types | |
typedef ConnHandler< Channel, UnixSockTransport< Channel > > | ConnHandler |
typedef Connector< Channel, UnixSockTransport< Channel > > | Connector |
Private Attributes | |
std::string | unix_addr_ |
Unix_Acceptor< Channel > | unix_acceptor_ |
Unix_Connector< Channel > | unix_connector_ |
Definition at line 158 of file UnixSockConnector.h.
|
Definition at line 160 of file UnixSockConnector.h. |
|
Reimplemented in channel::Connector< Channel, UnixSockTransport< Channel > >, and channel::Connector< Channel, UnixSockTransport< Channel > >. Definition at line 159 of file UnixSockConnector.h. |
|
Definition at line 172 of file UnixSockConnector.h. References channel::UNDEFINED_UNIX_ADDR, channel::UnixSockTransport< Channel >::unix_acceptor_, channel::UnixSockTransport< Channel >::unix_addr_, and channel::UnixSockTransport< Channel >::unix_connector_. |
|
Reimplemented in channel::Connector< Channel, UnixSockTransport< Channel > >. Definition at line 210 of file UnixSockConnector.h. References channel::SUCCESS, and channel::UNDEFINED_UNIX_ADDR. |
|
actively connect to remote channel
Definition at line 218 of file UnixSockConnector.h. References channel::ConnInfo::dump(), channel::FAILURE, channel::SUCCESS, channel::ConnInfo::unix_addr(), and channel::unix_path_prefix. |
|
Definition at line 239 of file UnixSockConnector.h. References channel::SUCCESS. |
|
return unix addr as the index of conn_map_
Definition at line 183 of file UnixSockConnector.h. References channel::SUCCESS. |
|
start listening at addr(ci) for remote connections
Definition at line 191 of file UnixSockConnector.h. References channel::FAILURE, channel::UNDEFINED_UNIX_ADDR, channel::UnixSockTransport< Channel >::unix_acceptor_, channel::ConnInfo::unix_addr(), channel::UnixSockTransport< Channel >::unix_addr_, and channel::unix_path_prefix. |
|
Reimplemented in channel::Connector< Channel, UnixSockTransport< Channel > >. Definition at line 177 of file UnixSockConnector.h. References channel::UNIX_SOCK. |
|
Definition at line 180 of file UnixSockConnector.h. References channel::UnixSockTransport< Channel >::unix_addr_. Referenced by channel::RemoteInterface< Channel, Transport >::send2remote_chan_info(). |
|
Definition at line 166 of file UnixSockConnector.h. Referenced by channel::UnixSockTransport< Channel >::open(), and channel::UnixSockTransport< Channel >::UnixSockTransport(). |
|
Definition at line 164 of file UnixSockConnector.h. Referenced by channel::UnixSockTransport< Channel >::open(), channel::UnixSockTransport< Channel >::unix_addr(), and channel::UnixSockTransport< Channel >::UnixSockTransport(). |
|
Definition at line 168 of file UnixSockConnector.h. Referenced by channel::UnixSockTransport< Channel >::UnixSockTransport(). |