| 
		| class RouteRedistributor | Store for redistributed routes.
  More... |  
 |  | 
Public Types
- typedef A  Addr
- typedef IPNet<A>  Net
Public Methods
Protected Members
| RouteRedistributor (RouteDB<A>&	route_db,
		       const string&	protocol,
		       uint16_t		tag) 
 | RouteRedistributor | 
 Constructor for RouteRedistributor
Parameters:
| route_db | the route database to add and expire routes in. | 
| protocol | name of protocol redistributor handles. | 
| tag | to be associated with redistributed routes. | 
| ~RouteRedistributor () 
 | ~RouteRedistributor | 
| bool  add_route (const Net& net, const Addr& nexthop, uint32_t cost = 0) 
 | add_route | 
 Add a route to be redistributed.
Parameters:
| net | network described by route. | 
| nexthop | router capable of forwarding route. | 
| cost | of route. | 
Returns: true on success, false if route could not be added to
         the RouteDatabase.  Failure may occur if route already exists
	       or a lower cost route exists.
     
| bool  expire_route (const Net& net) 
 | expire_route | 
 Trigger route expiry.
Parameters:
| network | described by route. | 
Returns: true on success, false if route did not come from this
 RouteRedistributor instance.
     
| const string&  protocol () 
 | protocol | 
 [const]
 Accessor.
Returns: protocol name.
     
 [const]
 Accessor.
Returns: tag routes are redistributed with.
     
 [protected]
| string		  _protocol | _protocol | 
 [protected]
 [protected]
 [protected]
	
	| Generated by: pavlin on possum.icir.org on Thu Nov  6 23:47:08 2003, using kdoc 2.0a54+XORP. |