IrcServer.NetworkClient

Undocumented in source.

Constructors

this
this(IrcServer server, IrcConnection incoming, Address remoteAddress)
Undocumented in source.

Members

Functions

connConnected
bool connConnected()
Undocumented in source. Be warned that the author may not have intended to support it.
connDisconnect
void connDisconnect(string reason)
Undocumented in source. Be warned that the author may not have intended to support it.
connSendLine
void connSendLine(string line)
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

conn
IrcConnection conn;
Undocumented in source.

Inherited Members

From Client

decoder
string function(in char[]) decoder;
encoder
string function(in char[]) encoder;

How to convert the IRC 8-bit data to and from UTF-8 (D strings must be valid UTF-8).

nickname
string nickname;
password
string password;

Registration details

username
string username;
hostname
string hostname;
servername
string servername;
realname
string realname;
Undocumented in source.
identified
bool identified;
Undocumented in source.
prefix
string prefix;
Undocumented in source.
publicPrefix
string publicPrefix;

Full nick!user@host

away
string away;
Undocumented in source.
registered
bool registered;
Undocumented in source.
modes
Modes modes;
Undocumented in source.
lastActivity
MonoTime lastActivity;
Undocumented in source.
getJoinedChannels
Channel[] getJoinedChannels()
Undocumented in source. Be warned that the author may not have intended to support it.
realHostname
string realHostname()
Undocumented in source. Be warned that the author may not have intended to support it.
publicHostname
string publicHostname()
Undocumented in source. Be warned that the author may not have intended to support it.
realHostnameVisibleTo
bool realHostnameVisibleTo(Client viewer)
Undocumented in source. Be warned that the author may not have intended to support it.
hostnameAsVisibleTo
string hostnameAsVisibleTo(Client viewer)
Undocumented in source. Be warned that the author may not have intended to support it.
prefixAsVisibleTo
string prefixAsVisibleTo(Client viewer)
Undocumented in source. Be warned that the author may not have intended to support it.
server
IrcServer server;
Undocumented in source.
remoteAddress
Address remoteAddress;
Undocumented in source.
onReadLine
void onReadLine(string line)
Undocumented in source. Be warned that the author may not have intended to support it.
onCommand
void onCommand(string command, string[] parameters)
Undocumented in source. Be warned that the author may not have intended to support it.
onInactivity
void onInactivity()
Undocumented in source. Be warned that the author may not have intended to support it.
disconnect
void disconnect(string why)
Undocumented in source. Be warned that the author may not have intended to support it.
onDisconnect
void onDisconnect(string reason, DisconnectType type)
Undocumented in source. Be warned that the author may not have intended to support it.
checkRegistration
void checkRegistration()
Undocumented in source. Be warned that the author may not have intended to support it.
register
void register()
Undocumented in source. Be warned that the author may not have intended to support it.
update
void update()
Undocumented in source. Be warned that the author may not have intended to support it.
unregister
void unregister(string why)
Undocumented in source. Be warned that the author may not have intended to support it.
changeNick
void changeNick(string newNick)
Undocumented in source. Be warned that the author may not have intended to support it.
sendMotd
void sendMotd()
Undocumented in source. Be warned that the author may not have intended to support it.
mayJoin
bool mayJoin(string name)
Undocumented in source. Be warned that the author may not have intended to support it.
join
void join(Channel channel)
Undocumented in source. Be warned that the author may not have intended to support it.
setChannelMode
void setChannelMode(Channel channel, string nickname, Channel.Member.Mode mode, bool value)
Undocumented in source. Be warned that the author may not have intended to support it.
part
void part(Channel channel, string reason)
Undocumented in source. Be warned that the author may not have intended to support it.
sendToChannel
void sendToChannel(Channel channel, string command, string message)
Undocumented in source. Be warned that the author may not have intended to support it.
sendToClient
void sendToClient(Client client, string command, string message)
Undocumented in source. Be warned that the author may not have intended to support it.
sendTopic
void sendTopic(Channel channel)
Undocumented in source. Be warned that the author may not have intended to support it.
sendNames
void sendNames(Channel channel)
Undocumented in source. Be warned that the author may not have intended to support it.
getChannelList
Channel[] getChannelList()

For LIST

sendChannelModes
void sendChannelModes(Channel channel)
Undocumented in source. Be warned that the author may not have intended to support it.
sendChannelModeMasks
void sendChannelModeMasks(Channel channel, char mode)
Undocumented in source. Be warned that the author may not have intended to support it.
sendChannelMaskList
void sendChannelMaskList(Channel channel, string[] masks, Reply lineReply, Reply endReply, string endText)
Undocumented in source. Be warned that the author may not have intended to support it.
setChannelTopic
void setChannelTopic(Channel channel, string topic)
Undocumented in source. Be warned that the author may not have intended to support it.
setChannelModes
void setChannelModes(Channel channel, string[] modes)
Undocumented in source. Be warned that the author may not have intended to support it.
setUserModes
void setUserModes(string[] modes)
Undocumented in source. Be warned that the author may not have intended to support it.
sendUserModes
void sendUserModes(Client client)
Undocumented in source. Be warned that the author may not have intended to support it.
sendCommand
void sendCommand(Client from, string[] parameters)
Undocumented in source. Be warned that the author may not have intended to support it.
sendCommand
void sendCommand(string from, string[] parameters)
Undocumented in source. Be warned that the author may not have intended to support it.
sendReply
void sendReply(Reply reply, string[] parameters)
Undocumented in source. Be warned that the author may not have intended to support it.
sendReply
void sendReply(string command, string[] parameters)
Undocumented in source. Be warned that the author may not have intended to support it.
sendServerNotice
void sendServerNotice(string text)
Undocumented in source. Be warned that the author may not have intended to support it.
sendLine
void sendLine(string line)
Undocumented in source. Be warned that the author may not have intended to support it.
connConnected
bool connConnected()
Undocumented in source.
connSendLine
void connSendLine(string line)
Undocumented in source.
connDisconnect
void connDisconnect(string reason)
Undocumented in source.

Meta