xorp

NotifyQueueInvalidateEntry< A > Class Template Reference

Notification Queue entry indicating that a change occured which has caused a route registration to become invalid. More...

#include <register_server.hh>

Inheritance diagram for NotifyQueueInvalidateEntry< A >:
NotifyQueueEntry

List of all members.

Public Member Functions

 NotifyQueueInvalidateEntry (const IPNet< A > &net, bool multicast)
 NotifyQueueInvalidateEntry Constructor.
EntryType type () const
void send (ResponseSender *response_sender, const string &module_name, NotifyQueue::XrlCompleteCB &cb)
 Actually send the XRL that communicates this change to the registered process.
template<>
void send (ResponseSender *response_sender, const string &module_name, NotifyQueue::XrlCompleteCB &cb)
 Send the queue entry (pure virtual)

Private Attributes

IPNet< A > _net
bool _multicast

Detailed Description

template<class A>
class NotifyQueueInvalidateEntry< A >

Notification Queue entry indicating that a change occured which has caused a route registration to become invalid.

The client must re-register to find out what actually happened.

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


Constructor & Destructor Documentation

template<class A >
NotifyQueueInvalidateEntry< A >::NotifyQueueInvalidateEntry ( const IPNet< A > &  net,
bool  multicast 
) [inline]

NotifyQueueInvalidateEntry Constructor.

Parameters:
netthe valid_subnet of the route registration that is now invalid.
multicasttrue indicates that the change occured in the multicast RIB, false indicates that it occured in the unicast RIB.

Member Function Documentation

template<class A >
void NotifyQueueInvalidateEntry< A >::send ( ResponseSender response_sender,
const string &  module_name,
NotifyQueue::XrlCompleteCB &  cb 
) [virtual]

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.

Implements NotifyQueueEntry.

template<class A >
EntryType NotifyQueueInvalidateEntry< A >::type ( ) const [inline, virtual]
Returns:
INVALIDATE
See also:
NotifyQueueEntry::EntryType

Implements NotifyQueueEntry.


The documentation for this class was generated from the following file:
 All Classes Namespaces Functions Variables Typedefs Enumerations