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

Public Member Functions

 Server (const std::string &srvname, const std::string &srvdesc)
 
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 ()
 

Protected Attributes

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 (GECOS) of this server

Returns
The description of this server

◆ 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).

◆ 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="true" 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: