|
sipxtacklib
Version 3.3
|
Structure to describe a server found for a SIP domain. More...
#include <SipSrvLookup.h>
Public Member Functions | |
| server_t () | |
| Initializer for server_t. More... | |
| server_t (const server_t &rserver_t) | |
| Copy constructor for server_t. More... | |
| server_t & | operator= (const server_t &rhs) |
| Copy assignment constructor for server_t. More... | |
| ~server_t () | |
| Destructor for server_t. More... | |
| UtlBoolean | isValidServerT () |
| Inquire if this is a valid SRV record. More... | |
| void | getHostNameFromServerT (UtlString &hostName) |
| Accessor for host name. More... | |
| void | getIpAddressFromServerT (UtlString &hostName) |
| Accessor for host IP address. More... | |
| int | getPortFromServerT () |
| Accessor for port. More... | |
| unsigned int | getWeightFromServerT () |
| Accessor for weight. More... | |
| float | getScoreFromServerT () |
| Accessor for score. More... | |
| unsigned int | getPriorityFromServerT () |
| Accessor for priority. More... | |
| OsSocket::IpProtocolSocketType | getProtocolFromServerT () |
| Accessor for protocol. More... | |
Static Public Member Functions | |
| static void | setDnsSrvResolveEnabled (UtlBoolean &enabled) |
| Sets the mDnsSrvResolveEnabled flag. More... | |
Public Attributes | |
| char * | host |
| Host name. (Owned by this object.) More... | |
| OsSocket::IpProtocolSocketType | type |
| OsSocket:{TCP,UDP,SSL_SOCKET}. More... | |
| struct sockaddr_in | sin |
| IP address and port. More... | |
| unsigned int | priority |
| SRV priority value. More... | |
| unsigned int | weight |
| SRV weight. More... | |
| float | score |
| Calculated sorting score. More... | |
Static Public Attributes | |
| static UtlBoolean | mDnsSrvResolveEnabled |
Structure to describe a server found for a SIP domain.
|
static |
Sets the mDnsSrvResolveEnabled flag.
| UtlBoolean isValidServerT | ( | ) |
Inquire if this is a valid SRV record.
Tests whether the host name element is non-NULL.
| void getHostNameFromServerT | ( | UtlString & | hostName | ) |
Accessor for host name.
| void getIpAddressFromServerT | ( | UtlString & | hostName | ) |
Accessor for host IP address.
| int getPortFromServerT | ( | ) |
Accessor for port.
| unsigned int getWeightFromServerT | ( | ) |
Accessor for weight.
| float getScoreFromServerT | ( | ) |
Accessor for score.
| unsigned int getPriorityFromServerT | ( | ) |
Accessor for priority.
| OsSocket::IpProtocolSocketType getProtocolFromServerT | ( | ) |
Accessor for protocol.
| char* host |
Host name. (Owned by this object.)
| OsSocket::IpProtocolSocketType type |
OsSocket:{TCP,UDP,SSL_SOCKET}.
| struct sockaddr_in sin |
IP address and port.
| unsigned int priority |
SRV priority value.
| unsigned int weight |
SRV weight.
| float score |
Calculated sorting score.
|
static |