class XrlSocketCommandDispatcher


 
LOGO
 Annotated List  Files  Globals  Hierarchy  Index  Top

Public Types

Public Methods

Protected Methods


Detailed Description

typedef ref_ptr<XrlSocketCommandBase> Command

Command

 XrlSocketCommandDispatcher (XrlSender& xs)

XrlSocketCommandDispatcher

 ~XrlSocketCommandDispatcher ()

~XrlSocketCommandDispatcher

[pure virtual]

void  enqueue (const Command& cmd)

enqueue

Enqueue an Xrl command for dispatch. If queue is empty, command is sent immediately for dispatch. When dispatch completes xrl_cb() is called with the response.

inline bool  queue_empty ()

queue_empty

[const]

bool  send_next ()

send_next

[protected]

Send next Xrl enqueued (if any).

Returns: true if next xrl sent, false if queue is empty or send failed.

void  xrl_cb (const XrlError& xe)

xrl_cb

[protected pure virtual]

Method invoked when an Xrl dispatch is completed. Implementations should call send_next() to trigger next queued XrlSocketCommandBase object to be dispatched.

Parameters:

xeXrl error object.

Generated by: pavlin on possum.icir.org on Thu Jul 8 23:48:26 2004, using kdoc $.