Client

IRC client

Constructors

this
this(ConnectionInfo connInfo)

Constructs a new IRC client with the given configuration info

Destructor

~this
~this()
Undocumented in source.

Members

Functions

channelMessage
void channelMessage(string message, string[] channels)

Sends a channel message to the intended recipients

channelMessage
void channelMessage(string message, string channel)

Sends a message to a given channel

command
void command(Message message)

Issues a command to the server

connect
void connect()

Connects to the server

directMessage
void directMessage(string message, string[] recipients)

Sends a direct message to the intended recipients

directMessage
void directMessage(string message, string recipient)

Sends a direct message to the intended recipient

getConnInfo
ConnectionInfo getConnInfo()

Retrieve the active configuration at this moment

getEngine
Engine getEngine()

Returns the eventy engine

isRunning
bool isRunning()

Checks whether this client is running

joinChannel
void joinChannel(string channel)

Joins the requested channel

joinChannel
void joinChannel(string[] channels)

Joins the requested channels

leaveChannel
void leaveChannel(string[] channels)

Parts from a list of channel(s) in one go

leaveChannel
void leaveChannel(string channel)

Part from a single channel

nick
void nick(string nickname)

Requests setting of the provided nickname

onChannelMessage
void onChannelMessage(Message fullMessage, string channel, string msgBody)

Called on reception of a channel message

onCommandReply
void onCommandReply(Message commandReply)

Called on command replies

onConnectionClosed
void onConnectionClosed()

Called when the connection to the remote host is closed

onDirectMessage
void onDirectMessage(Message fullMessage, string nickname, string msgBody)

Called on reception of a direct message

onGenericCommand
void onGenericCommand(Message message)

Called on generic commands

quit
void quit()

Disconnect from the IRC server gracefully

user
void user(string username, string hostname, string servername, string realname)

Performs user identification

Variables

connInfo
ConnectionInfo connInfo;

Connection information

socket
Socket socket;

Underlying connection to the server

Meta