xorp

DummyFinder Class Reference

Inheritance diagram for DummyFinder:
FinderTcpListenerBase FinderMessengerManager NONCOPYABLE

List of all members.

Public Member Functions

XrlCmdMapcommands ()
FinderMessengerBasemessenger () const
 DummyFinder (EventLoop &e, IPv4 interface, uint16_t port=FinderConstants::FINDER_DEFAULT_PORT()) throw (InvalidPort)
bool connection_event (XorpFd fd)
 Method called when a connection is accepted and matches permitted access conditions.
DummyFinderTcpconnection ()

Protected Member Functions

void messenger_active_event (FinderMessengerBase *m)
 Method called before Xrl is dispatched.
void messenger_inactive_event (FinderMessengerBase *m)
 Method called immediately after Xrl is dispatched.
void messenger_stopped_event (FinderMessengerBase *m)
 Method called when Messenger is unable to continue.
void messenger_birth_event (FinderMessengerBase *m)
 Method called by messenger constructor.
void messenger_death_event (FinderMessengerBase *m)
 Method called by messenger destructor.
bool manages (const FinderMessengerBase *m) const
 Method called to tell if FinderMessengerManager instance manages a particular messenger.

Protected Attributes

FinderMessengerBase_messenger
XrlCmdMap _commands
DummyFinderTcp_connection

Member Function Documentation

bool DummyFinder::connection_event ( XorpFd  fd) [inline, virtual]

Method called when a connection is accepted and matches permitted access conditions.

Parameters:
fdfile descriptor associated with new connection.
Returns:
true if instance agrees to take responsibility for file descriptor, false otherwise.

Implements FinderTcpListenerBase.

void DummyFinder::messenger_stopped_event ( FinderMessengerBase ) [inline, protected, virtual]

Method called when Messenger is unable to continue.

For instance, network connection lost.

Implements FinderMessengerManager.


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