xorp

DummyResolver< A > Class Template Reference

Inheritance diagram for DummyResolver< A >:
NextHopResolver< A >

List of all members.

Public Member Functions

 DummyResolver (EventLoop &eventloop, BGPMain &bgp)
void set_output_file (FILE *file)
void set_response (bool response)
bool register_nexthop (A nexthop, IPNet< A > net, NhLookupTable< A > *)
 Register interest in this nexthop.
void deregister_nexthop (A nexthop, IPNet< A > net, NhLookupTable< A > *)
 De-Register interest in this nexthop.

Private Attributes

FILE * _ofile
bool _response

template<class A>
class DummyResolver< A >


Member Function Documentation

template<class A >
void DummyResolver< A >::deregister_nexthop ( nexthop,
IPNet< A >  net_from_route,
NhLookupTable< A > *  requester 
) [inline, virtual]

De-Register interest in this nexthop.

Parameters:
nexthopNexthop.
net_from_routeThe net that is associated with this nexthop in the NextHopLookupTable. Treated as an opaque id.
requesterOriginal requester, not used.
Returns:
True if the registration succeed.

Reimplemented from NextHopResolver< A >.

template<class A >
bool DummyResolver< A >::register_nexthop ( nexthop,
IPNet< A >  net_from_route,
NhLookupTable< A > *  requester 
) [inline, virtual]

Register interest in this nexthop.

Parameters:
nexthopNexthop.
net_from_routeThe net that is associated with this nexthop in the NextHopLookupTable. Treated as an opaque id.
requesterOnce the registration with the RIB suceeds the requester is called back.
Returns:
True if the registration succeed.

Reimplemented from NextHopResolver< A >.


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