class FtiConfigTableObserver


 
LOGO
 Annotated List  Files  Globals  Hierarchy  Index  Top

Public Methods

Protected Methods

Protected Members


Detailed Description

 FtiConfigTableObserver (FtiConfig& ftic)

FtiConfigTableObserver

 ~FtiConfigTableObserver ()

~FtiConfigTableObserver

[virtual]

FtiConfig&  ftic ()

ftic

void  register_ftic_primary ()

register_ftic_primary

[virtual]

void  register_ftic_secondary ()

register_ftic_secondary

[virtual]

void  set_primary ()

set_primary

[virtual]

void  set_secondary ()

set_secondary

[virtual]

bool  is_primary ()

is_primary

[const virtual]

bool  is_secondary ()

is_secondary

[const virtual]

bool  is_running ()

is_running

[const virtual]

int  start (string& error_msg)

start

[pure virtual]

Start operation.

Parameters:

error_msgthe error message (if error).

Returns: XORP_OK on success, otherwise XORP_ERROR.

int  stop (string& error_msg)

stop

[pure virtual]

Stop operation.

Parameters:

error_msgthe error message (if error).

Returns: XORP_OK on success, otherwise XORP_ERROR.

void  receive_data (const uint8_t* data, size_t nbytes)

receive_data

[pure virtual]

Receive data from the underlying system.

Parameters:

datathe buffer with the received data.
nbytesthe number of bytes in the data buffer data.
void  add_fib_table_observer (FibTableObserverBase* fib_table_observer)

add_fib_table_observer

Add a FIB table observer.

Parameters:

fib_table_observerthe FIB table observer to add.
void  delete_fib_table_observer (FibTableObserverBase* fib_table_observer)

delete_fib_table_observer

Delete a FIB table observer.

Parameters:

fib_table_observerthe FIB table observer to delete.
void  propagate_fib_changes (const list<FteX>& fte_list)

propagate_fib_changes

[protected]

Propagate FIB changes to all FIB table observers.

Parameters:

fte_listthe list with the FIB changes.
list<FibTableObserverBase* > _fib_table_observers

_fib_table_observers

[protected]

bool _is_running

_is_running

[protected]


Generated by: pavlin on possum.icir.org on Thu Mar 9 04:43:06 2006, using kdoc $.