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::Exception ( )

Definition at line 22 of file os_session.h.

References anope_override.

Member Function Documentation

◆ Serialize()

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

Implements Serializable.

Definition at line 54 of file os_session.h.

◆ Unserialize()

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

Definition at line 64 of file os_session.h.

References anope_dynamic_static_cast().

Field Documentation

◆ expires

time_t Exception::expires

◆ limit

unsigned Exception::limit

◆ mask

Anope::string Exception::mask

◆ reason

Anope::string Exception::reason

◆ time

time_t Exception::time

◆ who

Anope::string Exception::who

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