class AddressTableBase

Base class for Address Table. More...

 
LOGO
 Annotated List  Files  Globals  Hierarchy  Index  Top

Public Methods

Protected Types

Protected Methods

Protected Members


Detailed Description

Base class for Address Table.

The address table stores a list of valid addresses. It is intended for use by the XrlSocketServer.

 ~AddressTableBase ()

~AddressTableBase

[virtual]

bool  address_valid (const IPv4& addr)

address_valid

[const pure virtual]

Enquire whether given IPv4 address is valid. Validity is defined by being enabled and on an interface.

bool  address_valid (const IPv6& addr)

address_valid

[const pure virtual]

Enquire whether given IPv6 address is valid. Validity is defined by being enabled and on an interface.

uint32_t  address_pif_index (const IPv4& addr)

address_pif_index

[const pure virtual]

Get Unix kernel interface index number associated with address.

Returns: non-zero value on success, zero on failure.

uint32_t  address_pif_index (const IPv6& addr)

address_pif_index

[const pure virtual]

Get Unix kernel interface index number associated with address.

Returns: non-zero value on success, zero on failure.

void  add_observer (AddressTableEventObserver* o)

add_observer

Add observer for AddressTable events.

void  remove_observer (AddressTableEventObserver* o)

remove_observer

Remove observer for AddressTable events.

void  invalidate_address (const IPv4& addr, const string& why)

invalidate_address

[protected]

void  invalidate_address (const IPv6& addr, const string& why)

invalidate_address

[protected]

typedef list<AddressTableEventObserver*> ObserverList

ObserverList

[protected]

ObserverList _ol

_ol

[protected]


Generated by: pavlin on possum.icir.org on Wed Apr 13 21:53:05 2005, using kdoc $.