ControlConnection::SendCommandEvent Class Reference

List of all members.

Public Member Functions

 SendCommandEvent (ControlCommand cmd, SendWaiter *waiter=0)
ControlCommand command ()
SendWaiterwaiter ()

Private Attributes

ControlCommand _cmd
SendWaiter_waiter

Detailed Description

Private event used to push a control command to the socket's thread

Definition at line 142 of file controlconnection.h.


Constructor & Destructor Documentation

ControlConnection::SendCommandEvent::SendCommandEvent ( ControlCommand  cmd,
SendWaiter waiter = 0 
) [inline]

Constructor.

Definition at line 145 of file controlconnection.h.

References _cmd, _waiter, and waiter().


Member Function Documentation

ControlCommand ControlConnection::SendCommandEvent::command (  )  [inline]

Returns the control command to send to Tor.

Definition at line 149 of file controlconnection.h.

References _cmd.

SendWaiter* ControlConnection::SendCommandEvent::waiter (  )  [inline]

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

Definition at line 151 of file controlconnection.h.

References _waiter.

Referenced by SendCommandEvent().


Member Data Documentation

ControlCommand ControlConnection::SendCommandEvent::_cmd [private]

Command to send to Tor.

Definition at line 153 of file controlconnection.h.

Referenced by command(), and SendCommandEvent().

SendWaiter* ControlConnection::SendCommandEvent::_waiter [private]

Waiter for the result of this event.

Definition at line 154 of file controlconnection.h.

Referenced by SendCommandEvent(), and waiter().


The documentation for this class was generated from the following file:
Generated on Mon Oct 23 20:08:16 2006 for Vidalia by  doxygen 1.5.0