OpenSDN source code
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
XmppServerAddressParser Class Reference

#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
 

Detailed Description

Definition at line 12 of file xmpp_server_address_parser.h.

Constructor & Destructor Documentation

XmppServerAddressParser::XmppServerAddressParser ( uint16_t  default_port,
uint32_t  max_servers_count 
)

Definition at line 11 of file xmpp_server_address_parser.cc.

Member Function Documentation

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.

Here is the call graph for this function:

Member Data Documentation

uint16_t XmppServerAddressParser::default_port
private

Definition at line 20 of file xmpp_server_address_parser.h.

uint32_t XmppServerAddressParser::max_servers_count
private

Definition at line 21 of file xmpp_server_address_parser.h.


The documentation for this class was generated from the following files: