ServerStatusEvent Class Reference

#include <serverstatusevent.h>

Inheritance diagram for ServerStatusEvent:
StatusEvent UnrecognizedServerStatusEvent

List of all members.

Public Types

enum  Status {
  UnrecognizedStatus, ExternalAddressChanged, NameserverStatusChanged, NameserversAllDown,
  DnsHijacked, DnsUseless, AcceptedServerDescriptor, RejectedServerDescriptor,
  GoodServerDescriptor, CheckingReachability, ReachabilityFailed, ReachabilitySucceeded
}

Public Member Functions

 ServerStatusEvent (tc::Severity severity, Status status)
Status status () const

Static Public Member Functions

static Status statusFromString (const QString &str)

Private Attributes

Status _status

Detailed Description

Definition at line 23 of file serverstatusevent.h.


Member Enumeration Documentation

< Tor server status event types.

Enumerator:
UnrecognizedStatus 
ExternalAddressChanged 
NameserverStatusChanged 
NameserversAllDown 
DnsHijacked 
DnsUseless 
AcceptedServerDescriptor 
RejectedServerDescriptor 
GoodServerDescriptor 
CheckingReachability 
ReachabilityFailed 
ReachabilitySucceeded 

Definition at line 27 of file serverstatusevent.h.


Constructor & Destructor Documentation

ServerStatusEvent::ServerStatusEvent ( tc::Severity  severity,
Status  status 
) [inline]

Constructor

Definition at line 43 of file serverstatusevent.h.


Member Function Documentation

Status ServerStatusEvent::status (  )  const [inline]

Returns the server status indicated by this event.

Definition at line 48 of file serverstatusevent.h.

References _status.

ServerStatusEvent::Status ServerStatusEvent::statusFromString ( const QString &  str  )  [static]

Member Data Documentation

Tor Server status indicated by this event.

Definition at line 54 of file serverstatusevent.h.

Referenced by status().


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

Generated on Wed Dec 23 21:11:11 2009 for Vidalia by  doxygen 1.6.1