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...

Definition#include <register_server.hh>
Template formNotifyQueueChangedEntry<class A>
InheritsNotifyQueueEntry [public ]
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

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: EntryType

Reimplemented from NotifyQueueEntry.

void  send (ResponseSender *response_sender, const string& modname, 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.
modnamethe 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 possum.icir.org on Thu Nov 6 23:47:07 2003, using kdoc 2.0a54+XORP.