#include <torsignal.h>
Public Types | |
enum | Signal { Reload, Shutdown, Dump, Debug, Halt, NewNym } |
Static Public Member Functions | |
static QString | toString (Signal signal) |
Definition at line 34 of file torsignal.h.
enum TorSignal::Signal |
Signals that can be sent by the controller
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 38 of file torsignal.h.
QString TorSignal::toString | ( | Signal | signal | ) | [static] |
Returns a string representation of a signal that Tor understands.
Definition at line 32 of file torsignal.cpp.
References Debug, Dump, Halt, NewNym, Reload, and Shutdown.
Referenced by TorControl::signal().