#include <sendcommandevent.h>
Public Member Functions | |
SendCommandEvent (const ControlCommand &cmd, SendWaiter *w=0) | |
ControlCommand | command () |
SendWaiter * | waiter () |
Private Attributes | |
ControlCommand | _cmd |
SendWaiter * | _waiter |
Classes | |
class | SendWaiter |
Definition at line 29 of file sendcommandevent.h.
SendCommandEvent::SendCommandEvent | ( | const ControlCommand & | cmd, | |
SendWaiter * | w = 0 | |||
) |
ControlCommand SendCommandEvent::command | ( | ) | [inline] |
Returns the control command to send to Tor.
Definition at line 53 of file sendcommandevent.h.
References _cmd.
SendWaiter* SendCommandEvent::waiter | ( | ) | [inline] |
Returns a SendWaiter (if any) for the result of this send.
Definition at line 55 of file sendcommandevent.h.
References _waiter.
ControlCommand SendCommandEvent::_cmd [private] |
Command to send to Tor.
Definition at line 58 of file sendcommandevent.h.
Referenced by command(), and SendCommandEvent().
SendWaiter* SendCommandEvent::_waiter [private] |
SendWaiter for the result of this event.
Definition at line 59 of file sendcommandevent.h.
Referenced by SendCommandEvent(), and waiter().