IRCServer

Aggregate of all information and state pertaining to the connected IRC server. Some fields are transient on a per-connection basis and should not be serialised.

Constructors

this
this(string address, ushort port)

Constructor.

Members

Enums

CaseMapping
enum CaseMapping

Case mappings used by an IRC server.

Daemon
enum Daemon

Server daemons, or families of server programs.

Variables

aModes
string aModes;

A = Mode that adds or removes a nick or address to a list. Always has a parameter.

address
string address;

Server address (or IP).

bModes
string bModes;

B = Mode that changes a setting and always has a parameter.

cModes
string cModes;

C = Mode that changes a setting and only has a parameter when set.

caseMapping
CaseMapping caseMapping;

The current case mapping, dictating how case-insensitivity works.

chantypes
string chantypes;

Supported channel prefix characters, as announced by the server in the RPL_ISUPPORT` event, before the MOTD.

dModes
string dModes;

D = Mode that changes a setting and never has a parameter.

daemon
Daemon daemon;

The server daemon family the server is running.

daemonstring
string daemonstring;

The reported daemon, with version.

exceptsChar
char exceptsChar;

The modechar for mode exceptions.

extbanPrefix
char extbanPrefix;

EXTBAN prefix character.

extbanTypes
string extbanTypes;

EXTBAN types.

invexChar
char invexChar;

The modechar for invite exceptions.

maxChannelLength
uint maxChannelLength;

Max channel name length as per IRC specs, or as reported.

maxNickLength
uint maxNickLength;

Max nickname length as per IRC specs, but not the de facto standard.

network
string network;

Server network string, like Freenode, QuakeNet, Rizon.

port
ushort port;

The port to connect to, usually 6667-6669.

prefixchars
char[char] prefixchars;

Prefix characters by mode character; o by @, v by +, etc.

prefixes
string prefixes;

Character channel mode prefixes (o, v, h, ...)

resolvedAddress
string resolvedAddress;

The IRC server address handed to us by the round robin pool.

supports
string supports;

Contents of the RPL_ISUPPORT response(s).