IRCClient

IRC Client connection implementation

Constructors

this
this()
Undocumented in source.

Destructor

~this
~this()
Undocumented in source.

Members

Functions

channelByName
IRCChannel channelByName(string name, bool createIfNotExist)
Undocumented in source. Be warned that the author may not have intended to support it.
connect
void connect(string host, ushort port)
Undocumented in source. Be warned that the author may not have intended to support it.
disconnect
void disconnect()
Undocumented in source. Be warned that the author may not have intended to support it.
join
void join(string channel)
Undocumented in source. Be warned that the author may not have intended to support it.
onConnect
void onConnect(AsyncSocket socket)
Undocumented in source. Be warned that the author may not have intended to support it.
onDataReceived
void onDataReceived(AsyncSocket socket, ubyte[] data)
Undocumented in source. Be warned that the author may not have intended to support it.
onDisconnect
void onDisconnect(AsyncSocket socket)
Undocumented in source. Be warned that the author may not have intended to support it.
onError
void onError(AsyncSocket socket, SocketError error, string msg)
Undocumented in source. Be warned that the author may not have intended to support it.
onMessage
void onMessage(IRCMessage msg)
Undocumented in source. Be warned that the author may not have intended to support it.
onMessageText
void onMessageText(string msgText)
Undocumented in source. Be warned that the author may not have intended to support it.
part
void part(string channel, string message)
Undocumented in source. Be warned that the author may not have intended to support it.
pong
void pong(string msg)
Undocumented in source. Be warned that the author may not have intended to support it.
privMsg
void privMsg(string destination, string message)
Undocumented in source. Be warned that the author may not have intended to support it.
quit
void quit(string message)
Undocumented in source. Be warned that the author may not have intended to support it.
removeChannel
IRCChannel removeChannel(string name)
Undocumented in source. Be warned that the author may not have intended to support it.
sendMessage
void sendMessage(string msg)
Undocumented in source. Be warned that the author may not have intended to support it.

Properties

callback
IRCClientCallback callback [@property setter]
Undocumented in source. Be warned that the author may not have intended to support it.
host
string host [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
hostPort
string hostPort [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
nick
string nick [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
nick
string nick [@property setter]
Undocumented in source. Be warned that the author may not have intended to support it.
port
ushort port [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
socket
AsyncSocket socket [@property setter]

set socket to use

state
SocketState state [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

_callback
IRCClientCallback _callback;
Undocumented in source.
_channels
IRCChannel[string] _channels;
Undocumented in source.
_host
string _host;
Undocumented in source.
_nick
string _nick;
Undocumented in source.
_port
ushort _port;
Undocumented in source.
_readbuf
char[] _readbuf;
Undocumented in source.
_socket
AsyncSocket _socket;
Undocumented in source.

Meta