#include <ConnInfo.h>
Public Member Functions | |
ConnInfo () | |
ConnInfo (const ConnInfo &ci) | |
void | parse (std::string conn_info) |
ConnInfo (std::string ip, int port) | |
void | set (std::string ip, int port) |
ConnInfo (std::string addr) | |
void | set (std::string addr) |
Interface_Type | type (void) |
bool | valid (void) |
std::string | ip (void) |
void | ip (std::string ip) |
u_short | port (void) |
void | port (u_short p) |
std::string | get_host_addr (void) |
void | set_host_addr (std::string hn) |
u_short | get_port_number (void) |
void | set_port_number (u_short p) |
std::string | unix_addr (void) |
bool | operator< (const ConnInfo &ci) const |
bool | operator== (const ConnInfo &ci) const |
void | dump (void) |
Public Attributes | |
Interface_Type | type_ |
std::string | ip_ |
u_short | port_ |
std::string | unix_addr_ |
bool | valid_ |
Definition at line 23 of file ConnInfo.h.
|
Definition at line 31 of file ConnInfo.h. |
|
Definition at line 33 of file ConnInfo.h. References ip_, port_, type_, unix_addr_, and valid_. |
|
Definition at line 43 of file ConnInfo.h. References channel::INET_SOCK, ip_, port_, type_, and valid_. |
|
Definition at line 57 of file ConnInfo.h. References parse(). |
|
Definition at line 56 of file ConnInfo.cpp. References channel::INET_SOCK, ip_, port_, type_, and channel::UNIX_SOCK. Referenced by channel::UnixSockTransport< Channel >::connect(), and channel::TcpSockTransport< Channel >::connect(). |
|
Definition at line 76 of file ConnInfo.h. References ip_. Referenced by channel::TcpSockTransport< Channel >::get_map_index(). |
|
Definition at line 78 of file ConnInfo.h. References port_. |
|
Definition at line 70 of file ConnInfo.h. References ip_. |
|
Definition at line 69 of file ConnInfo.h. References ip_. Referenced by channel::TcpSockTransport< Channel >::connect(), and channel::TcpSockTransport< Channel >::get_map_index(). |
|
Definition at line 91 of file ConnInfo.cpp. References channel::INET_SOCK, ip_, port_, type_, unix_addr_, and channel::UNIX_SOCK. |
|
Definition at line 71 of file ConnInfo.cpp. References channel::INET_SOCK, ip_, port_, type_, unix_addr_, and channel::UNIX_SOCK. |
|
Referenced by ConnInfo(), and set(). |
|
Definition at line 72 of file ConnInfo.h. References port_. |
|
Definition at line 71 of file ConnInfo.h. References port_. Referenced by channel::TcpSockTransport< Channel >::connect(), channel::TcpSockTransport< Channel >::get_map_index(), channel::TcpSockTransport< Channel >::open(), and set_port_number(). |
|
Definition at line 61 of file ConnInfo.h. References parse(). |
|
Definition at line 50 of file ConnInfo.h. References channel::INET_SOCK, ip_, port_, type_, and valid_. Referenced by channel::RemoteInterface< Channel, Transport >::handle_message(). |
|
Definition at line 77 of file ConnInfo.h. References ip_. |
|
Definition at line 79 of file ConnInfo.h. References port(). |
|
Definition at line 65 of file ConnInfo.h. References type_. Referenced by channel::RemoteInterface< Channel, Transport >::notify_connected(), and Ctrl_Task::work(). |
|
Definition at line 81 of file ConnInfo.h. References unix_addr_. Referenced by channel::UnixSockTransport< Channel >::connect(), channel::RemoteInterface< Channel, Transport >::notify_connected(), and channel::UnixSockTransport< Channel >::open(). |
|
Definition at line 67 of file ConnInfo.h. References valid_. Referenced by channel::RemoteInterface< Channel, Transport >::notify_connected(), and Ctrl_Task::work(). |
|
Definition at line 26 of file ConnInfo.h. Referenced by ConnInfo(), dump(), get_host_addr(), ip(), operator<(), operator==(), set(), and set_host_addr(). |
|
Definition at line 27 of file ConnInfo.h. Referenced by ConnInfo(), dump(), get_port_number(), operator<(), operator==(), port(), and set(). |
|
Definition at line 25 of file ConnInfo.h. Referenced by ConnInfo(), dump(), operator<(), operator==(), set(), and type(). |
|
Definition at line 28 of file ConnInfo.h. Referenced by ConnInfo(), operator<(), operator==(), and unix_addr(). |
|
Definition at line 29 of file ConnInfo.h. Referenced by ConnInfo(), set(), and valid(). |