Anope IRC Services  Version 2.0
Public Member Functions | Static Public Member Functions | Data Fields
HostRequest Struct Reference
Inheritance diagram for HostRequest:
Inheritance graph
[legend]
Collaboration diagram for HostRequest:
Collaboration graph
[legend]

Public Member Functions

 HostRequest (Extensible *)
 
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 nick
 
Anope::string ident
 
Anope::string host
 
time_t time
 
- 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 24 of file hs_request.cpp.

Constructor & Destructor Documentation

HostRequest::HostRequest ( Extensible )
inline

Definition at line 31 of file hs_request.cpp.

Member Function Documentation

void HostRequest::Serialize ( Serialize::Data data) const
inlinevirtual

Implements Serializable.

Definition at line 33 of file hs_request.cpp.

References Serialize::Data::DT_INT, host, ident, nick, and time.

static Serializable* HostRequest::Unserialize ( Serializable obj,
Serialize::Data data 
)
inlinestatic

Field Documentation

Anope::string HostRequest::host
Anope::string HostRequest::ident
Anope::string HostRequest::nick

Definition at line 26 of file hs_request.cpp.

Referenced by CommandHSRequest::Execute(), Serialize(), and Unserialize().

time_t HostRequest::time

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