class FinderMessengerBase

Base class for FinderMessenger classes. More...

Contains pure virtuals
Definition#include <finder_messenger.hh>
InheritsXrlSender [public ]
Inherited byFinderTcpMessenger
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

Public Types

Public Methods

Protected Methods


Detailed Description

FinderMessenger classes are expected to handle the transport and dispatch of Xrl's and their responses. This base class provides a common code for actually doing the Xrl dispatch and handling the state associated with their responses.

typedef XrlSender::Callback SendCallback

SendCallback

 FinderMessengerBase (EventLoop& e, FinderMessengerManager* fmm, XrlCmdMap& cmds)

FinderMessengerBase

 ~FinderMessengerBase ()

~FinderMessengerBase

[virtual]

bool  send (const Xrl& xrl, const SendCallback& scb)

send

[pure virtual]

Reimplemented from XrlSender.

bool  pending ()

pending

[const pure virtual]

Reimplemented from XrlSender.

inline XrlCmdMap&  command_map ()

command_map

inline EventLoop&  eventloop ()

eventloop

void  unhook_manager ()

unhook_manager

FinderMessengerManager*  manager ()

manager

void  dispatch_xrl (uint32_t seqno, const Xrl& x)

dispatch_xrl

[protected]

Find command associated with Xrl and dispatch it. pre_dispatch_xrl() and post_dispatch_xrl() are called either side of Xrl.

bool  dispatch_xrl_response (uint32_t seqno, const XrlError& e, XrlArgs*)

dispatch_xrl_response

[protected]

bool  store_xrl_response (uint32_t seqno, const SendCallback& scb)

store_xrl_response

[protected]

void  reply (uint32_t seqno, const XrlError& e, const XrlArgs* reply_args)

reply

[protected pure virtual]

void  response_timeout (uint32_t seqno)

response_timeout

[protected]


Generated by: pavlin on possum.icir.org on Thu Nov 6 23:46:53 2003, using kdoc 2.0a54+XORP.