class System

Top Level container for XORP RIP implementation. More...

 
LOGO
 Annotated List  Files  Globals  Hierarchy  Index  Top

Public Types

Public Methods

Protected Methods

Protected Members


Detailed Description

typedef RouteDB<A> RouteDatabase

RouteDatabase

typedef PortManagerBase<A> PortManager

PortManager

 System (EventLoop& e)

System

 ~System ()

~System

inline EventLoop&  eventloop ()

eventloop

Get EventLoop instance that each object in system should use.

inline const EventLoop&  eventloop ()

eventloop

[const]

Get EventLoop instance that each object in RIP system should use.

inline RouteDatabase&  route_db ()

route_db

Get the Route Database that each object in the RIP system should use.

inline const RouteDatabase&  route_db ()

route_db

[const]

Get the Route Database that each object in the RIP system should use.

inline bool  set_port_manager (PortManager* pm)

set_port_manager

Set the port manager object associated with the system.

Parameters:

pointerto PortManager to be used.

Returns: true if port manager has not previously been set and pointer is not null, false otherwise.

inline PortManager*  port_manager ()

port_manager

Get pointer to PortManager that the RIP system is using.

inline const PortManager*  port_manager ()

port_manager

[const]

Get pointer PortManager that the RIP system is using.

void  configure_filter (const uint32_t& filter, const string& conf)

configure_filter

Configure a policy filter.

Parameters:

filterid of filter to configure.
confconfiguration of filter.
void  reset_filter (const uint32_t& filter)

reset_filter

Reset a policy filter.

Parameters:

filterid of filter to reset.
void  push_routes ()

push_routes

Push routes through policy filters for re-filtering.

PolicyFilters&  policy_filters ()

policy_filters

Returns: reference to global policy filters.

 System (const System&)

System

[protected]

System&  operator= (const System&)

operator=

[protected]

EventLoop& _e

_e

[protected]

PolicyFilters _policy_filters

_policy_filters

[protected]

RouteDatabase _rtdb

_rtdb

[protected]

PortManager* _pm

_pm

[protected]

template <typename A> bool  set_port_manager (PortManager* pm)

set_port_manager

[protected]

template <typename A>  ~System ()

~System

[protected]


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