IrcConnection

Base class for an IRC client-server connection.

Constructors

this
this(IConnection c, size_t maxLineLength)
Undocumented in source.

Alias This

conn

Members

Functions

send
void send(string line)

Send line, plus a newline.

Variables

conn
IConnection conn;

Underlying transport.

handleInactivity
void delegate() handleInactivity;

Inactivity handler (for sending a PING request).

handleReadLine
void delegate(string line) handleReadLine;

Data handler.

handleTimeout
void delegate() handleTimeout;

Timeout handler - called if handleInactivity was null or did not result in activity.

Meta