IrcServer.Client

Abstract client connection and information.

class IrcServer
abstract static
class Client {}

Constructors

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

Members

Functions

changeNick
void changeNick(string newNick)
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.
connConnected
bool connConnected()
Undocumented in source.
connDisconnect
void connDisconnect(string reason)
Undocumented in source.
connSendLine
void connSendLine(string line)
Undocumented in source.
disconnect
void disconnect(string why)
Undocumented in source. Be warned that the author may not have intended to support it.
getChannelList
Channel[] getChannelList()

For LIST

getJoinedChannels
Channel[] getJoinedChannels()
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.
join
void join(Channel channel)
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.
onCommand
void onCommand(string command, string[] parameters)
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.
onInactivity
void onInactivity()
Undocumented in source. Be warned that the author may not have intended to support it.
onReadLine
void onReadLine(string line)
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.
prefixAsVisibleTo
string prefixAsVisibleTo(Client viewer)
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.
realHostname
string realHostname()
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.
register
void register()
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.
sendChannelModeMasks
void sendChannelModeMasks(Channel channel, char mode)
Undocumented in source. Be warned that the author may not have intended to support it.
sendChannelModes
void sendChannelModes(Channel channel)
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.
sendLine
void sendLine(string line)
Undocumented in source. Be warned that the author may not have intended to support it.
sendLusers
void sendLusers()
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.
sendNames
void sendNames(Channel channel)
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.
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.
sendUserModes
void sendUserModes(Client client)
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.
setChannelModes
void setChannelModes(Channel channel, string[] modes)
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.
setUserModes
void setUserModes(string[] modes)
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.
update
void update()
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

away
string away;

Away reason, if away.

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).

hostname
string hostname;

Registration details

identified
bool identified;

Pretend that we obtained the username from an ident server?

lastActivity
MonoTime lastActivity;
modes
Modes modes;

User modes.

nickname
string nickname;
password
string password;

Registration details

prefix
string prefix;
publicPrefix
string publicPrefix;

Full "nick!user@host". publicPrefix is what everyone except the user themself and opers see.

realname
string realname;

Registration details

registered
bool registered;

Registration completed successfully?

remoteAddress
Address remoteAddress;
Undocumented in source.
server
IrcServer server;
Undocumented in source.
servername
string servername;
username
string username;

Registration details

Meta