Logo Search packages:      
Sourcecode: pwlib version File versions

PIPSocket::RouteEntry Class Reference

#include <ipsock.h>

Inheritance diagram for PIPSocket::RouteEntry:

PObject

List of all members.


Detailed Description

Describes a route table entry

Definition at line 728 of file ipsock.h.


I/O functions

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

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 ()

Public Member Functions

Address GetDestination () const
 Get the default gateway address associated with the route table entry.
const PStringGetInterface () const
 Get the network address name associated with the route table entry.
long GetMetric () const
 Get the network metric associated with the route table entry.
Address GetNetMask () const
 Get the network address mask associated with the route table entry.
Address GetNetwork () const
 Get the network address associated with the route table entry.
 RouteEntry (const Address &addr)
 create a route table entry from an IP address
Miscellaneous functions
virtual PObjectClone () const
virtual PINDEX HashFunction () const

Protected Attributes

Address destination
PString interfaceName
long metric
Address net_mask
Address network

Private Member Functions

 PCLASSINFO (RouteEntry, PObject)

Friends

class PIPSocket

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

Generated by  Doxygen 1.6.0   Back to index