Main Page | Namespace List | Class Hierarchy | Class List | Directories | File List | Class Members | File Members

PIPSocket::InterfaceEntry Class Reference

#include <ipsock.h>

Inheritance diagram for PIPSocket::InterfaceEntry:

PObject List of all members.

Public Member Functions

 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.
const PStringGetName () const
 Get the name of the interface.
Address GetAddress () const
 Get the address associated with the interface.
BOOL HasIP6Address () const
Address GetNetMask () const
 Get the net mask associated with the interface.
const PStringGetMACAddress () const
 Get the MAC address associate with the interface.

Protected Attributes

PString name
Address ipAddr
Address netMask
PString macAddr

Detailed Description

Describes an interface table entry


Constructor & Destructor Documentation

PIPSocket::InterfaceEntry::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


Member Function Documentation

Address PIPSocket::InterfaceEntry::GetAddress  )  const [inline]
 

Get the address associated with the interface.

const PString& PIPSocket::InterfaceEntry::GetMACAddress  )  const [inline]
 

Get the MAC address associate with the interface.

const PString& PIPSocket::InterfaceEntry::GetName  )  const [inline]
 

Get the name of the interface.

Address PIPSocket::InterfaceEntry::GetNetMask  )  const [inline]
 

Get the net mask associated with the interface.

BOOL PIPSocket::InterfaceEntry::HasIP6Address  )  const [inline]
 

virtual void PIPSocket::InterfaceEntry::PrintOn ostream &  strm  )  const [virtual]
 

Print to specified stream.

Reimplemented from PObject.


Member Data Documentation

Address PIPSocket::InterfaceEntry::ipAddr [protected]
 

PString PIPSocket::InterfaceEntry::macAddr [protected]
 

PString PIPSocket::InterfaceEntry::name [protected]
 

Address PIPSocket::InterfaceEntry::netMask [protected]
 


The documentation for this class was generated from the following file:
Generated on Thu Jun 15 15:24:36 2006 for PWLib by  doxygen 1.4.2