InspIRCd  3.0
Public Member Functions | Public Attributes | Protected Attributes | Friends | List of all members
Server Class Reference
Inheritance diagram for Server:
classbase

Public Member Functions

 Server (const std::string &srvid, const std::string &srvname, const std::string &srvdesc)
 
 description (srvdesc)
 
 uline (false)
 
 silentuline (false)
 
const std::string & GetId () const
 
const std::string & GetName () const
 
const std::string & GetDesc () const
 
bool IsULine () const
 
bool IsSilentULine () const
 
- Public Member Functions inherited from classbase
virtual CullResult cull ()
 

Public Attributes

 __pad0__: name(srvname)
 

Protected Attributes

const std::string id
 
const std::string name
 
std::string description
 
bool uline
 
bool silentuline
 

Friends

class ConfigReaderThread
 

Member Function Documentation

◆ GetDesc()

const std::string& Server::GetDesc ( ) const
inline

Returns the description of this server

Returns
The description of this server

◆ GetId()

const std::string& Server::GetId ( ) const
inline

Retrieves the unique identifier for this server (e.g. 36C).

◆ GetName()

const std::string& Server::GetName ( ) const
inline

Returns the name of this server

Returns
The name of this server, for example "irc.inspircd.org".

◆ IsSilentULine()

bool Server::IsSilentULine ( ) const
inline

Checks whether this server is a silent uline Silent uline servers introduce, quit and oper up users without a snotice being generated.

Returns
True if this server is a silent uline, false otherwise.

◆ IsULine()

bool Server::IsULine ( ) const
inline

Checks whether this server is ulined

Returns
True if this server is ulined, false otherwise.

Friends And Related Function Documentation

◆ ConfigReaderThread

friend class ConfigReaderThread
friend

Allow ConfigReaderThread to update the description on a rehash

Member Data Documentation

◆ description

std::string Server::description
protected

The description of this server. This can be updated by the protocol module (for remote servers) or by a rehash (for the local server).

◆ id

const std::string Server::id
protected

The unique identifier for this server.

◆ name

const std::string Server::name
protected

The name of this server

◆ silentuline

bool Server::silentuline
protected

True if this server is a silent uline, i.e. silent="yes" in the uline block

◆ uline

bool Server::uline
protected

True if this server is ulined


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