vdr 2.6.3
Public Member Functions | Private Attributes | List of all members
cIpAddress Class Reference

Public Member Functions

 cIpAddress (void)
 
 cIpAddress (const char *Address, int Port)
 
const char * Address (void) const
 
int Port (void) const
 
void Set (const char *Address, int Port)
 
void Set (const sockaddr *SockAddr)
 
const char * Connection (void) const
 

Private Attributes

cString address
 
int port
 
cString connection
 

Detailed Description

Definition at line 59 of file svdrp.c.

Constructor & Destructor Documentation

◆ cIpAddress() [1/2]

cIpAddress::cIpAddress ( void  )

Definition at line 74 of file svdrp.c.

References Set().

◆ cIpAddress() [2/2]

cIpAddress::cIpAddress ( const char *  Address,
int  Port 
)

Definition at line 79 of file svdrp.c.

References Address(), Port(), and Set().

Member Function Documentation

◆ Address()

const char * cIpAddress::Address ( void  ) const
inline

◆ Connection()

const char * cIpAddress::Connection ( void  ) const
inline

◆ Port()

int cIpAddress::Port ( void  ) const
inline

Definition at line 68 of file svdrp.c.

References port.

Referenced by cIpAddress(), cSVDRPClient::HasAddress(), and Set().

◆ Set() [1/2]

void cIpAddress::Set ( const char *  Address,
int  Port 
)

Definition at line 84 of file svdrp.c.

References address, Address(), connection, port, Port(), and cString::sprintf().

Referenced by cSocket::Accept(), cIpAddress(), cSocket::Discover(), and Set().

◆ Set() [2/2]

void cIpAddress::Set ( const sockaddr *  SockAddr)

Definition at line 91 of file svdrp.c.

References Set().

Member Data Documentation

◆ address

cString cIpAddress::address
private

Definition at line 61 of file svdrp.c.

Referenced by Address(), and Set().

◆ connection

cString cIpAddress::connection
private

Definition at line 63 of file svdrp.c.

Referenced by Connection(), and Set().

◆ port

int cIpAddress::port
private

Definition at line 62 of file svdrp.c.

Referenced by Port(), and Set().


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