Public Types | Public Member Functions | Public Attributes | Static Public Attributes

IpEndpointName Class Reference

#include <IpEndpointName.h>

List of all members.

Public Types

enum  { ADDRESS_STRING_LENGTH = 17 }
enum  { ADDRESS_AND_PORT_STRING_LENGTH = 23 }

Public Member Functions

 IpEndpointName ()
 IpEndpointName (int port_)
 IpEndpointName (unsigned long ipAddress_, int port_)
 IpEndpointName (const char *addressName, int port_=ANY_PORT)
 IpEndpointName (int addressA, int addressB, int addressC, int addressD, int port_=ANY_PORT)
void AddressAsString (char *s) const
void AddressAndPortAsString (char *s) const

Public Attributes

unsigned long address
int port

Static Public Attributes

static const unsigned long ANY_ADDRESS = 0xFFFFFFFF
static const int ANY_PORT = -1

Member Enumeration Documentation

anonymous enum
Enumerator:
ADDRESS_STRING_LENGTH 
anonymous enum
Enumerator:
ADDRESS_AND_PORT_STRING_LENGTH 

Constructor & Destructor Documentation

IpEndpointName::IpEndpointName (  ) [inline]
IpEndpointName::IpEndpointName ( int  port_ ) [inline]
IpEndpointName::IpEndpointName ( unsigned long  ipAddress_,
int  port_ 
) [inline]
IpEndpointName::IpEndpointName ( const char *  addressName,
int  port_ = ANY_PORT 
) [inline]
IpEndpointName::IpEndpointName ( int  addressA,
int  addressB,
int  addressC,
int  addressD,
int  port_ = ANY_PORT 
) [inline]

Member Function Documentation

void IpEndpointName::AddressAndPortAsString ( char *  s ) const
void IpEndpointName::AddressAsString ( char *  s ) const

Member Data Documentation

unsigned long IpEndpointName::address
const unsigned long IpEndpointName::ANY_ADDRESS = 0xFFFFFFFF [static]
const int IpEndpointName::ANY_PORT = -1 [static]

The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines