Logo Search packages:      
Sourcecode: pwlib version File versions  Download package

PIPSocket::InterfaceEntry Class Reference

#include <ipsock.h>

Inheritance diagram for PIPSocket::InterfaceEntry:


List of all members.

Detailed Description

Describes an interface table entry

Definition at line 834 of file ipsock.h.

Comparison functions

virtual Comparison Compare (const PObject &obj) const
virtual Comparison CompareObjectMemoryDirect (const PObject &obj) const
bool operator!= (const PObject &obj) const
bool operator< (const PObject &obj) const
bool operator<= (const PObject &obj) const
bool operator== (const PObject &obj) const
bool operator> (const PObject &obj) const
bool operator>= (const PObject &obj) const
enum  Comparison { LessThan = -1, EqualTo = 0, GreaterThan = 1 }

Run Time Type functions

virtual const char * GetClass (unsigned=0) const
virtual BOOL InternalIsDescendant (const char *clsName) const
BOOL IsClass (const char *cls) const
static const char * Class ()

I/O functions

virtual void ReadFrom (istream &strm)
ostream & operator<< (ostream &strm, const PObject &obj)
istream & operator>> (istream &strm, PObject &obj)

Public Member Functions

Address GetAddress () const
 Get the address associated with the interface.
const PStringGetMACAddress () const
 Get the MAC address associate with the interface.
const PStringGetName () const
 Get the name of the interface.
Address GetNetMask () const
 Get the net mask associated with the interface.
BOOL HasIP6Address () const
 InterfaceEntry (const PString &_name, const Address &_addr, const Address &_mask, const PString &_macAddr)
 create an interface entry from a name, IP addr and MAC addr
virtual void PrintOn (ostream &strm) const
 Print to specified stream.
Miscellaneous functions
virtual PObjectClone () const
virtual PINDEX HashFunction () const

Protected Attributes

Address ipAddr
PString macAddr
PString name
Address netMask

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

Generated by  Doxygen 1.6.0   Back to index