TorSignal Class Reference

#include <torsignal.h>

List of all members.

Public Types

enum  Signal {
  Reload, Shutdown, Dump, Debug,
  Halt, NewNym
}

Static Public Member Functions

static QString toString (Signal signal)


Detailed Description

Definition at line 23 of file torsignal.h.


Member Enumeration Documentation

Signals that can be sent by the controller

Enumerator:
Reload  SIGHUP: Reloads config items and refetch directory
Shutdown  SIGINT: Controlled shutdown
Dump  SIGUSR1: Log information about current circuits
Debug  SIGUSR2: Switch all open logs to loglevel debug
Halt  SIGTERM: Immediate shutdown
NewNym  NEWNYM: Switch to all new clean circuits

Definition at line 27 of file torsignal.h.


Member Function Documentation

QString TorSignal::toString ( Signal  signal  )  [static]

Returns a string representation of a signal that Tor understands.

Definition at line 21 of file torsignal.cpp.

References Debug, Dump, Halt, NewNym, Reload, and Shutdown.

Referenced by TorControl::signal().


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

Generated on Sat Aug 16 17:31:50 2008 for Vidalia by  doxygen 1.5.6