Vidalia  0.2.21
Classes | Public Member Functions | Private Attributes | List of all members
SendCommandEvent Class Reference

#include <SendCommandEvent.h>

Inheritance diagram for SendCommandEvent:

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 27 of file SendCommandEvent.h.

Constructor & Destructor Documentation

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

Constructor.

Definition at line 22 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 51 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 53 of file SendCommandEvent.h.

References _waiter.

Referenced by ControlSocket::customEvent().

Member Data Documentation

ControlCommand SendCommandEvent::_cmd
private

Command to send to Tor.

Definition at line 56 of file SendCommandEvent.h.

Referenced by command(), and SendCommandEvent().

SendWaiter* SendCommandEvent::_waiter
private

SendWaiter for the result of this event.

Definition at line 57 of file SendCommandEvent.h.

Referenced by SendCommandEvent(), and waiter().


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