OpenSDN source code
|
#include <xmpp_server_address_parser.h>
Public Member Functions | |
XmppServerAddressParser (uint16_t default_port, uint32_t max_servers_count) | |
void | ParseAddress (const std::string &address, std::string *out_ip, uint16_t *out_port) const |
void | ParseAddresses (const std::vector< std::string > &addresses, std::string out_ips[], uint16_t out_ports[]) const |
Private Attributes | |
uint16_t | default_port |
uint32_t | max_servers_count |
Definition at line 12 of file xmpp_server_address_parser.h.
XmppServerAddressParser::XmppServerAddressParser | ( | uint16_t | default_port, |
uint32_t | max_servers_count | ||
) |
Definition at line 11 of file xmpp_server_address_parser.cc.
void XmppServerAddressParser::ParseAddress | ( | const std::string & | address, |
std::string * | out_ip, | ||
uint16_t * | out_port | ||
) | const |
Definition at line 17 of file xmpp_server_address_parser.cc.
void XmppServerAddressParser::ParseAddresses | ( | const std::vector< std::string > & | addresses, |
std::string | out_ips[], | ||
uint16_t | out_ports[] | ||
) | const |
Definition at line 34 of file xmpp_server_address_parser.cc.
|
private |
Definition at line 20 of file xmpp_server_address_parser.h.
|
private |
Definition at line 21 of file xmpp_server_address_parser.h.