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 22 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 Mon Aug 30 22:58:57 2010 for Vidalia by  doxygen 1.6.3