Anope IRC Services  Version 2.0
Public Member Functions | Static Public Member Functions | Data Fields
Exception Struct Reference

#include <os_session.h>

Inheritance diagram for Exception:
Inheritance graph
Collaboration diagram for Exception:
Collaboration graph

Public Member Functions

 Exception ()
void Serialize (Serialize::Data &data) const anope_override
- Public Member Functions inherited from Serializable
virtual ~Serializable ()
void QueueUpdate ()
bool IsCached (Serialize::Data &)
void UpdateCache (Serialize::Data &)
bool IsTSCached ()
void UpdateTS ()
Serialize::TypeGetSerializableType () const
- Public Member Functions inherited from Base
 Base ()
virtual ~Base ()
void AddReference (ReferenceBase *r)
void DelReference (ReferenceBase *r)

Static Public Member Functions

static SerializableUnserialize (Serializable *obj, Serialize::Data &data)
- Static Public Member Functions inherited from Serializable
static const std::list
< Serializable * > & 
GetItems ()

Data Fields

Anope::string mask
unsigned limit
Anope::string who
Anope::string reason
time_t time
time_t expires
- Data Fields inherited from Serializable
uint64_t id
unsigned short redis_ignore

Additional Inherited Members

- Protected Member Functions inherited from Serializable
 Serializable (const Anope::string &serialize_type)
 Serializable (const Serializable &)
Serializableoperator= (const Serializable &)

Detailed Description

Definition at line 13 of file os_session.h.

Constructor & Destructor Documentation

Exception::Exception ( )

Definition at line 22 of file os_session.h.

Referenced by Unserialize().

Member Function Documentation

void Exception::Serialize ( Serialize::Data data) const

Implements Serializable.

Definition at line 54 of file os_session.h.

References expires, limit, mask, reason, time, and who.

Serializable * Exception::Unserialize ( Serializable obj,
Serialize::Data data 

Definition at line 64 of file os_session.h.

References anope_dynamic_static_cast(), Exception(), and session_service().

Field Documentation

time_t Exception::expires
unsigned Exception::limit
Anope::string Exception::mask
Anope::string Exception::reason
time_t Exception::time
Anope::string Exception::who

The documentation for this struct was generated from the following file: