|
|
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:
net | the destination subnet of the route that changed. |
nexthop | the new nexthop of the route that changed. |
metric | the new routing protocol metric of the route that changed. |
admin_distance | the adminstratively defined distance of the routing protocol this routing entry was computed by. |
protocol_origin | the name of the protocol that originated this route. |
multicast | true 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& module_name,
NotifyQueue::XrlCompleteCB& cb)
| send |
Actually send the XRL that communicates this change to the registered process.
Parameters:
response_sender | the auto-generated stub class instance that will do the parameter marchalling. |
module_name | the XRL module target name to send this information to. |
cb | the method to call back when this XRL completes. |
Reimplemented from NotifyQueueEntry.