SendCommandEvent Class Reference

#include <SendCommandEvent.h>

List of all members.

Classes

class  SendWaiter

Public Member Functions

 SendCommandEvent (const ControlCommand &cmd, SendWaiter *w=0)
ControlCommand command ()
SendWaiterwaiter ()

Private Attributes

ControlCommand _cmd
SendWaiter_waiter


Detailed Description

Definition at line 28 of file SendCommandEvent.h.


Constructor & Destructor Documentation

SendCommandEvent::SendCommandEvent ( const ControlCommand cmd,
SendWaiter w = 0 
)

Constructor.

Definition at line 23 of file SendCommandEvent.cpp.

References _cmd, and _waiter.


Member Function Documentation

ControlCommand SendCommandEvent::command (  )  [inline]

Returns the control command to send to Tor.

Definition at line 52 of file SendCommandEvent.h.

References _cmd.

Referenced by ControlSocket::customEvent().

SendWaiter* SendCommandEvent::waiter (  )  [inline]

Returns a SendWaiter (if any) for the result of this send.

Definition at line 54 of file SendCommandEvent.h.

References _waiter.

Referenced by ControlSocket::customEvent().


Member Data Documentation

Command to send to Tor.

Definition at line 57 of file SendCommandEvent.h.

Referenced by command(), and SendCommandEvent().

SendWaiter for the result of this event.

Definition at line 58 of file SendCommandEvent.h.

Referenced by SendCommandEvent(), and waiter().


The documentation for this class was generated from the following files:

Generated on Mon Aug 30 19:14:03 2010 for Vidalia by  doxygen 1.5.9