Public Types | |
| typedef std::shared_ptr< UDPPort > | shared |
| typedef UDPPort * | ptr |
Public Types inherited from sella::net::Port | |
| typedef std::shared_ptr< Port > | shared |
| typedef Port * | ptr |
| typedef std::list< Port > | list |
| typedef std::list< ptr > | ptr_list |
| typedef std::list< shared > | shared_list |
| typedef std::forward_list< Port > | flist |
| typedef std::forward_list< ptr > | ptr_flist |
| typedef std::forward_list< shared > | shared_flist |
| typedef std::vector< Port > | vector |
| typedef std::vector< ptr > | ptr_vector |
| typedef std::vector< shared > | shared_vector |
|
typedef std::unordered_set < Port, hash > | uset |
|
typedef std::unordered_set < ptr, hash > | ptr_uset |
|
typedef std::unordered_set < shared, hash > | shared_uset |
|
typedef std::unordered_multiset< Port, hash > | umset |
|
typedef std::unordered_multiset< ptr, hash > | ptr_umset |
|
typedef std::unordered_multiset < shared, hash > | shared_umset |
Public Member Functions | |
| UDPPort (const std::string &service) throw (PortException) | |
| UDPPort (uint16_t port=0) throw (PortException) | |
| UDPPort (const UDPPort &other) throw () | |
| UDPPort (const UDPPort &&other) throw () | |
Public Member Functions inherited from sella::net::Port | |
| Port (const std::string &service, int protocol=TCPPreferred) throw (PortException) | |
| Port (uint16_t port=0, int protocol=TCPPreferred) throw (PortException) | |
| Port (const struct sockaddr_storage *ss, int protocol=TCPPreferred) throw (PortException) | |
| Port (const struct sockaddr *sa, int protocol=TCPPreferred) throw (PortException) | |
| Port (const Port &other) throw () | |
| Port (const Port &&other) throw () | |
| Port & | operator= (const Port &other) throw () |
| Port & | operator= (const Port &&other) throw () |
| bool | operator== (const Port &other) const throw () |
| bool | operator!= (const Port &other) const throw () |
| bool | operator>= (const Port &other) const throw () |
| bool | operator<= (const Port &other) const throw () |
| bool | operator< (const Port &other) const throw () |
| bool | operator> (const Port &other) const throw () |
| uint16_t | get (void) const throw () |
| uint16_t | getPort (void) const throw () |
| int | getProtocol (void) const throw () |
| const std::string & | str (void) const throw () |
| const char * | c_str (void) const throw () |
| uint32_t | getU32 (void) const throw () |
| uint32_t | getHash (void) const throw () |
| bool | empty (void) const throw () |
| void | clear (void) throw () |
Static Public Member Functions | |
| static const UDPPort::shared | shared_ptr (const std::string &service) throw (PortException) |
| static const UDPPort::shared | shared_ptr (uint16_t port=0) throw (PortException) |
Static Public Member Functions inherited from sella::net::Port | |
| static const Port::shared | shared_ptr (const std::string &service, int protocol=TCPPreferred) throw (PortException) |
| static const Port::shared | shared_ptr (uint16_t port=0, int protocol=TCPPreferred) throw (PortException) |
| static const Port::shared | shared_ptr (const struct sockaddr_storage *ss, int protocol=TCPPreferred) throw (PortException) |
| static const Port::shared | shared_ptr (const struct sockaddr *sa, int protocol=TCPPreferred) throw (PortException) |
| static bool | shared_bi_cmp (shared &a, shared &b) |
| static bool | shared_bi_eq (shared &a, shared &b) |
Additional Inherited Members | |
Static Public Attributes inherited from sella::net::Port | |
| static const int | UDPPreferred = 0x01 |
| static const int | UDPRequired = 0x03 |
| static const int | TCPPreferred = 0x04 |
| static const int | TCPRequired = 0x12 |
| static const int | UDPProtocol = SOCK_DGRAM |
| static const int | TCPProtocol = SOCK_STREAM |
Protected Member Functions inherited from sella::net::Port | |
| bool | parseUDPPreferred (uint16_t &port, int &protocol, const std::string &service) throw () |
| bool | parseTCPPreferred (uint16_t &port, int &protocol, const std::string &service) throw () |
| bool | parseUDPRequired (uint16_t &port, int &protocol, const std::string &service) throw () |
| bool | parseTCPRequired (uint16_t &port, int &protocol, const std::string &service) throw () |
1.8.5