class FinderMessengerBase

Base class for FinderMessenger classes. More...

 
LOGO
 Annotated List  Files  Globals  Hierarchy  Index  Top

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.

XrlCmdMap&  command_map ()

command_map

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 kobe.xorp.net on Wed Jan 7 19:10:45 2009, using kdoc 2.0a54+XORP.