Vidalia  0.3.1
Public Types | Static Public Member Functions | List of all members
TorSignal Class Reference

#include <TorSignal.h>

Public Types

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

Static Public Member Functions

static QString toString (Signal signal)
 

Detailed Description

Definition at line 22 of file TorSignal.h.

Member Enumeration Documentation

§ Signal

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 26 of file TorSignal.h.

Member Function Documentation

§ toString()

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: