#include <generalstatusevent.h>
Public Types | |
| enum | Status { UnrecognizedStatus, ClockJumped, DangerousTorVersion, TooManyConnections, TorBug, ClockSkew, BadLibevent, DirAllUnreachable } |
Public Member Functions | |
| GeneralStatusEvent (tc::Severity severity, Status status) | |
| Status | status () const |
Static Public Member Functions | |
| static Status | statusFromString (const QString &str) |
Private Attributes | |
| Status | _status |
Definition at line 23 of file generalstatusevent.h.
< General Tor status event types.
| UnrecognizedStatus | |
| ClockJumped | |
| DangerousTorVersion | |
| TooManyConnections | |
| TorBug | |
| ClockSkew | |
| BadLibevent | |
| DirAllUnreachable |
Definition at line 27 of file generalstatusevent.h.
| GeneralStatusEvent::GeneralStatusEvent | ( | tc::Severity | severity, | |
| Status | status | |||
| ) | [inline] |
Constructor
Definition at line 39 of file generalstatusevent.h.
| Status GeneralStatusEvent::status | ( | ) | const [inline] |
Returns the general Tor status indicated by this event.
Definition at line 44 of file generalstatusevent.h.
References _status.
Referenced by MainWindow::customEvent().
| GeneralStatusEvent::Status GeneralStatusEvent::statusFromString | ( | const QString & | str | ) | [static] |
Returns a GeneralStatusEvent::Status enum value for the status value represented by str.
Definition at line 23 of file generalstatusevent.cpp.
References BadLibevent, ClockJumped, ClockSkew, DangerousTorVersion, DirAllUnreachable, TooManyConnections, TorBug, and UnrecognizedStatus.
Referenced by TorEvents::dispatchGeneralStatusEvent().
Status GeneralStatusEvent::_status [private] |
General Tor status value indicated by this event.
Definition at line 50 of file generalstatusevent.h.
Referenced by status().
1.6.1