class NotifyQueueChangedEntry

Notification Queue entry indicating that a change occured to the metric, admin_distance or nexthop of a route in which interest was registered. More...

 
LOGO
 Annotated List  Files  Globals  Hierarchy  Index  Top

Public Methods


Detailed Description

Notification Queue entry indicating that a change occured to the metric, admin_distance or nexthop of a route in which interest was registered.

The template class A is the address family: either the IPv4 class or the IPv6 class.

 NotifyQueueChangedEntry (const IPNet<A>& net, const A& nexthop, uint32_t metric, uint32_t admin_distance, const string& protocol_origin, bool multicast)

NotifyQueueChangedEntry

NotifyQueueChangedEntry Constructor

Parameters:

netthe destination subnet of the route that changed.
nexthopthe new nexthop of the route that changed.
metricthe new routing protocol metric of the route that changed.
admin_distancethe adminstratively defined distance of the routing protocol this routing entry was computed by.
protocol_originthe name of the protocol that originated this route.
multicasttrue indicates that the change occured in the multicast RIB, false indicates that it occured in the unicast RIB.
EntryType  type ()

type

[const]

Returns: CHANGED

See also: NotifyQueueEntry::EntryType

Reimplemented from NotifyQueueEntry.

void  send (ResponseSender* response_sender, const string& module_name, NotifyQueue::XrlCompleteCB& cb)

send

Actually send the XRL that communicates this change to the registered process.

Parameters:

response_senderthe auto-generated stub class instance that will do the parameter marchalling.
module_namethe XRL module target name to send this information to.
cbthe method to call back when this XRL completes.

Reimplemented from NotifyQueueEntry.


Generated by: pavlin on kobe.xorp.net on Wed Jan 7 19:11:09 2009, using kdoc 2.0a54+XORP.