IRCConnection

The base class for IRC connections.

Constructors

this
this()

Default constructor. Should not be called from user code.

Members

Functions

connect
void connect()
Undocumented in source.
disconnect
void disconnect(string reason)
Undocumented in source.
disconnected
void disconnected(string reason)

Called after being disconnected from the network.

join_channel
void join_channel(string name)

Join a channel.

notice
void notice(Message message)

Called upon reception of an incoming notice.

privmsg
void privmsg(Message message)

Called upon reception of an incoming private message.

send_line
void send_line(string contents, Args args)

Send a formatted line.

send_message
void send_message(string destination, string message, bool notice)

Send a _message.

signed_on
void signed_on()

Called after succesfully logging in to the network.

unknown_command
void unknown_command(string prefix, string command, string[] arguments)

Called when an unknown command is received.

unknown_numeric
void unknown_numeric(string prefix, int id, string[] arguments)

Called when an unknown numeric command is received.

user_joined
void user_joined(User user, string channel)

Called when a _user joins a _channel.

user_kicked
void user_kicked(User kicker, string user, string channel, string reason)

Called when a _user is kicked from a _channel.

user_left
void user_left(User user, string channel, string reason)

Called when a _user leaves a _channel.

user_quit
void user_quit(User user, string reason)

Called when a _user disconnects from the network.

user_renamed
void user_renamed(User user, string oldNick)

Called when a _user changes their nickname.

Properties

nickname
string nickname [@property getter]

Get this connection's nickname.

nickname
string nickname [@property setter]

Set this connection's nickname.

Variables

connectionParameters
ConnectionParameters connectionParameters;

The connection parameters passed to $(SYMBOL_LINK irc_connect).

transport
TCPConnection transport;

The vibe socket underlying this connection.

Meta