xorp

DummyRegisterServer Class Reference

Inheritance diagram for DummyRegisterServer:
RegisterServer

List of all members.

Public Member Functions

void send_route_changed (const string &module_name, const IPv4Net &net, const IPv4 &nexthop, uint32_t metric, uint32_t admin_distance, const string &protocol_origin, bool multicast)
 send_route_changed is called to communicate to another XRL module that routing information in which it had registered an interest has changed its nexthop, metric, or admin distance.
void send_invalidate (const string &module_name, const IPv4Net &net, bool multicast)
void send_route_changed (const string &module_name, const IPv6Net &net, const IPv6 &nexthop, uint32_t metric, uint32_t admin_distance, const string &protocol_origin, bool multicast)
void send_invalidate (const string &module_name, const IPv6Net &net, bool multicast)
void flush ()
bool verify_invalidated (const string &invalid)
bool verify_changed (const string &changed)
bool verify_no_info ()

Private Attributes

set< string > _invalidated
set< string > _changed

Member Function Documentation

void DummyRegisterServer::flush ( ) [inline, virtual]
See also:
NotifyQueue::flush

Reimplemented from RegisterServer.

void DummyRegisterServer::send_route_changed ( const string &  module_name,
const IPv4Net net,
const IPv4 nexthop,
uint32_t  metric,
uint32_t  admin_distance,
const string &  protocol_origin,
bool  multicast 
) [virtual]

send_route_changed is called to communicate to another XRL module that routing information in which it had registered an interest has changed its nexthop, metric, or admin distance.

Parameters:
module_namethe XRL target name of the module to notify.
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 new admin distance of the route that changed.
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.

Reimplemented from RegisterServer.


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