class XrlRouter


Definition#include <xrl_router.hh>
InheritsXrlDispatcher [public ], XrlSender [public ]
Inherited byXrlStdRouter
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

Public Types

Public Methods

Protected Methods

Protected Members


Detailed Description

typedef XrlSender::Callback XrlCallback

XrlCallback

typedef XrlRouterDispatchState DispatchState

DispatchState

 XrlRouter (EventLoop& e, const char* class_name, const char* finder_address, uint16_t finder_port = FINDER_DEFAULT_PORT)
throw (InvalidAddress)

XrlRouter

 XrlRouter (EventLoop& e, const char* class_name, IPv4 finder_address = FINDER_DEFAULT_HOST, uint16_t finder_port = FINDER_DEFAULT_PORT)
throw (InvalidAddress)

XrlRouter

 ~XrlRouter ()

~XrlRouter

[virtual]

bool  add_listener (XrlPFListener* listener)

add_listener

void  finalize ()

finalize

Reimplemented from XrlCmdMap.

bool  connected ()

connected

[const]

bool  ready ()

ready

[const]

bool  pending ()

pending

[const]

Reimplemented from XrlSender.

bool  send (const Xrl& xrl, const XrlCallback& cb)

send

Reimplemented from XrlSender.

bool  add_handler (const string& cmd, const XrlRecvCallback& rcb)

add_handler

Reimplemented from XrlCmdMap.

inline EventLoop&  eventloop ()

eventloop

inline const string&  instance_name ()

instance_name

[const]

inline const string&  class_name ()

class_name

[const]

void  resolve_callback (const XrlError& e, const FinderDBEntry* dbe, XrlRouterDispatchState* ds)

resolve_callback

[protected]

void  send_callback (const XrlError& e, const Xrl& xrl, XrlArgs* reply, XrlRouterDispatchState* ds)

send_callback

[protected]

void  dispose (XrlRouterDispatchState*)

dispose

[protected]

void  initialize (const char* class_name, IPv4 finder_addr, uint16_t finder_port)

initialize

[protected]

EventLoop& _e

_e

[protected]

FinderClient* _fc

_fc

[protected]

FinderClientXrlTarget* _fxt

_fxt

[protected]

FinderTcpAutoConnector* _fac

_fac

[protected]

string _instance_name

_instance_name

[protected]

uint32_t _rpend

_rpend

[protected]

uint32_t _spend

_spend

[protected]

list<XrlPFListener*> _listeners

_listeners

[protected]

list<XrlRouterDispatchState*> _dsl

_dsl

[protected]


Generated by: pavlin on possum.icir.org on Mon Jun 9 13:23:50 2003, using kdoc 2.0a54+XORP.