|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IRCReply
Numeric replies generated by an IRC server in response to a command.
Field Summary | |
---|---|
static int |
ERR_ALREADYREGISTRED
Returned by the server to any link which tries to change part of the registered details (such as password or user details from second USER message). |
static int |
ERR_BADCHANNELKEY
"<channel> :Cannot join channel (+k)" |
static int |
ERR_BANNEDFROMCHAN
"<channel> :Cannot join channel (+b)" |
static int |
ERR_CANNOTSENDTOCHAN
Sent to a user who is either (a) not on a channel which is mode +n or (b) not a chanop (or mode +v) on a channel which has mode +m set and is trying to send a PRIVMSG message to that channel. |
static int |
ERR_CANTKILLSERVER
Any attempts to use the KILL command on a server are to be refused and this error returned directly to the client. |
static int |
ERR_CHANNELISFULL
"<channel> :Cannot join channel (+l)" |
static int |
ERR_CHANOPRIVSNEEDED
Any command requiring 'chanop' privileges (such as MODE messages) must return this error if the client making the attempt is not a chanop on the specified channel. |
static int |
ERR_ERRONEUSNICKNAME
Returned after receiving a NICK message which contains characters which do not fall in the defined set. |
static int |
ERR_FILEERROR
Generic error message used to report a failed file operation during the processing of a message. |
static int |
ERR_INVITEONLYCHAN
"<channel> :Cannot join channel (+i)" |
static int |
ERR_KEYSET
"<channel> :Channel key already set" |
static int |
ERR_NEEDMOREPARAMS
Returned by the server by numerous commands to indicate to the client that it didn't supply enough parameters. |
static int |
ERR_NICKCOLLISION
Returned by a server to a client when it detects a nickname collision (registered of a NICK that already exists by another server). |
static int |
ERR_NICKNAMEINUSE
Returned when a NICK message is processed that results in an attempt to change to a currently existing nickname. |
static int |
ERR_NOADMININFO
Returned by a server in response to an ADMIN message when there is an error in finding the appropriate information. |
static int |
ERR_NOLOGIN
Returned by the summon after a SUMMON command for a user was unable to be performed since they were not logged in. |
static int |
ERR_NOMOTD
Server's MOTD file could not be opened by the server. |
static int |
ERR_NONICKNAMEGIVEN
Returned when a nickname parameter expected for a command and isn't found. |
static int |
ERR_NOOPERHOST
If a client sends an OPER message and the server has not been configured to allow connections from the client's host as an operator, this error must be returned. |
static int |
ERR_NOORIGIN
PING or PONG message missing the originator parameter which is required since these commands must work without valid prefixes. |
static int |
ERR_NOPERMFORHOST
Returned to a client which attempts to register with a server which does not been setup to allow connections from the host the attempted connection is tried. |
static int |
ERR_NOPRIVILEGES
Any command requiring operator privileges to operate must return this error to indicate the attempt was unsuccessful. |
static int |
ERR_NORECIPIENT
":No recipient given (<command>)" |
static int |
ERR_NOSUCHCHANNEL
Used to indicate the given channel name is invalid. |
static int |
ERR_NOSUCHNICK
Used to indicate the nickname parameter supplied to a command is currently unused. |
static int |
ERR_NOSUCHSERVER
Used to indicate the server name given currently doesn't exist. |
static int |
ERR_NOTEXTTOSEND
":No text to send" |
static int |
ERR_NOTONCHANNEL
Returned by the server whenever a client tries to perform a channel effecting command for which the client isn't a member. |
static int |
ERR_NOTOPLEVEL
"<mask> :No toplevel domain specified" |
static int |
ERR_NOTREGISTERED
Returned by the server to indicate that the client must be registered before the server will allow it to be parsed in detail. |
static int |
ERR_PASSWDMISMATCH
Returned to indicate a failed attempt at registering a connection for which a password was required and was either not given or incorrect. |
static int |
ERR_SUMMONDISABLED
Returned as a response to the SUMMON command. |
static int |
ERR_TOOMANYCHANNELS
Sent to a user when they have joined the maximum number of allowed channels and they try to join another channel. |
static int |
ERR_TOOMANYTARGETS
Returned to a client which is attempting to send PRIVMSG/NOTICE using the user@host destination format and for a user@host which has several occurrences. |
static int |
ERR_UMODEUNKNOWNFLAG
Returned by the server to indicate that a MODE message was sent with a nickname parameter and that the a mode flag sent was not recognized. |
static int |
ERR_UNKNOWNCOMMAND
Returned to a registered client to indicate that the command sent is unknown by the server. |
static int |
ERR_UNKNOWNMODE
"<char> :is unknown mode char to me" |
static int |
ERR_USERNOTINCHANNEL
Returned by the server to indicate that the target user of the command is not on the given channel. |
static int |
ERR_USERONCHANNEL
Returned when a client tries to invite a user to a channel they are already on. |
static int |
ERR_USERSDISABLED
Returned as a response to the USERS command. |
static int |
ERR_USERSDONTMATCH
Error sent to any user trying to view or change the user mode for a user other than themselves. |
static int |
ERR_WASNOSUCHNICK
Returned by WHOWAS to indicate there is no history information for that nickname. |
static int |
ERR_WILDTOPLEVEL
412 - 414 are returned by PRIVMSG to indicate that the message wasn't delivered for some reason. |
static int |
ERR_YOUREBANNEDCREEP
Returned after an attempt to connect and register yourself with a server which has been setup to explicitly deny connections to you. |
static int |
RPL_ADMINEMAIL
When replying to an ADMIN message, a server is expected to use replies RLP_ADMINME through to RPL_ADMINEMAIL and provide a text message with each. |
static int |
RPL_ADMINLOC1
":<admin info>" |
static int |
RPL_ADMINLOC2
":<admin info>" |
static int |
RPL_ADMINME
"<server> :Administrative info" |
static int |
RPL_AWAY
"<nick> :<away message>" |
static int |
RPL_BANLIST
"<channel> <banid>" |
static int |
RPL_CHANNELMODEIS
"<channel> <mode> <mode params>" |
static int |
RPL_ENDOFBANLIST
When listing the active 'bans' for a given channel, a server is required to send the list back using the RPL_BANLIST and RPL_ENDOFBANLIST messages. |
static int |
RPL_ENDOFINFO
A server responding to an INFO message is required to send all its 'info' in a series of RPL_INFO messages with a RPL_ENDOFINFO reply to indicate the end of the replies. |
static int |
RPL_ENDOFLINKS
In replying to the LINKS message, a server must send replies back using the RPL_LINKS numeric and mark the end of the list using an RPL_ENDOFLINKS reply.v "<mask> :End of /LINKS list" |
static int |
RPL_ENDOFMOTD
When responding to the MOTD message and the MOTD file is found, the file is displayed line by line, with each line no longer than 80 characters, using RPL_MOTD format replies. |
static int |
RPL_ENDOFNAMES
To reply to a NAMES message, a reply pair consisting of RPL_NAMREPLY and RPL_ENDOFNAMES is sent by the server back to the client. |
static int |
RPL_ENDOFSTATS
"<stats letter> :End of /STATS report" |
static int |
RPL_ENDOFUSERS
":End of users" |
static int |
RPL_ENDOFWHO
The RPL_WHOREPLY and RPL_ENDOFWHO pair are used to answer a WHO message. |
static int |
RPL_ENDOFWHOIS
"<nick> :End of /WHOIS list" |
static int |
RPL_ENDOFWHOWAS
When replying to a WHOWAS message, a server must use the replies RPL_WHOWASUSER, RPL_WHOISSERVER or ERR_WASNOSUCHNICK for each nickname in the presented list. |
static int |
RPL_INFO
":<string>" |
static int |
RPL_INVITING
Returned by the server to indicate that the attempted INVITE message was successful and is being passed onto the end client. |
static int |
RPL_ISON
Reply format used by ISON to list replies to the query list. |
static int |
RPL_LINKS
"<mask> <server> :<hopcount> <server info>" |
static int |
RPL_LIST
"<channel> <# visible> :<topic>" |
static int |
RPL_LISTEND
Replies RPL_LISTSTART, RPL_LIST, RPL_LISTEND mark the start, actual replies with data and end of the server's response to a LIST command. |
static int |
RPL_LISTSTART
"Channel :Users Name" |
static int |
RPL_LUSERCHANNELS
"<integer> :channels formed" |
static int |
RPL_LUSERCLIENT
":There are <integer> users and <integer> invisible on <integer> servers" |
static int |
RPL_LUSERME
In processing an LUSERS message, the server sends a set of replies from RPL_LUSERCLIENT, RPL_LUSEROP, RPL_USERUNKNOWN, RPL_LUSERCHANNELS and RPL_LUSERME. |
static int |
RPL_LUSEROP
"<integer> :operator(s) online" |
static int |
RPL_LUSERUNKNOWN
"<integer> :unknown connection(s)" |
static int |
RPL_MOTD
":- <text>" |
static int |
RPL_MOTDSTART
":- <server> Message of the day - " |
static int |
RPL_NAMREPLY
"<channel> :[[@|+]<nick> [[@|+]<nick> [...]]]" |
static int |
RPL_NONE
Dummy reply number. |
static int |
RPL_NOTOPIC
"<channel> :No topic is set" |
static int |
RPL_NOUSERS
If the USERS message is handled by a server, the replies RPL_USERSTART, RPL_USERS, RPL_ENDOFUSERS and RPL_NOUSERS are used. |
static int |
RPL_NOWAWAY
These replies are used with the AWAY command (if allowed). |
static int |
RPL_REHASHING
If the REHASH option is used and an operator sends a REHASH message, an RPL_REHASHING is sent back to the operator. |
static int |
RPL_STATSCLINE
"C <host> * <name> <port> <class>" |
static int |
RPL_STATSCOMMANDS
"<command> <count>" |
static int |
RPL_STATSHLINE
"H <hostmask> * <servername>" |
static int |
RPL_STATSILINE
"I <host> * <host> <port> <class>" |
static int |
RPL_STATSKLINE
"K <host> * <username> <port> <class>" |
static int |
RPL_STATSLINKINFO
"<linkname> <sendq> <sent messages> <sent bytes> <received messages> <received bytes> <time open>" |
static int |
RPL_STATSLLINE
"L <hostmask> * <servername> <maxdepth>" |
static int |
RPL_STATSNLINE
"N <host> * <name> <port> <class>" |
static int |
RPL_STATSOLINE
"O <hostmask> * <name>" |
static int |
RPL_STATSUPTIME
":Server Up %d days %d:%02d:%02d" |
static int |
RPL_STATSYLINE
"Y <class> <ping frequency> <connect frequency> <max sendq>" |
static int |
RPL_SUMMONING
Returned by a server answering a SUMMON message to indicate that it is summoning that user. |
static int |
RPL_TIME
When replying to the TIME message, a server must send the reply using the RPL_TIME format above. |
static int |
RPL_TOPIC
When sending a TOPIC message to determine the channel topic, one of two replies is sent. |
static int |
RPL_TRACECONNECTING
"Try. |
static int |
RPL_TRACEHANDSHAKE
"H.S. |
static int |
RPL_TRACELINK
"Link <version & debug level> <destination> <next server>" |
static int |
RPL_TRACELOG
The RPL_TRACE* are all returned by the server in response to the TRACE message. |
static int |
RPL_TRACENEWTYPE
"<newtype> 0 <client name>" |
static int |
RPL_TRACEOPERATOR
"Oper <class> <nick>" |
static int |
RPL_TRACESERVER
"Serv <class> <int>S <int>C <server> <nick! |
static int |
RPL_TRACEUNKNOWN
"???? |
static int |
RPL_TRACEUSER
"User <class> <nick>" |
static int |
RPL_UMODEIS
To answer a query about a client's own mode, RPL_UMODEIS is sent back. |
static int |
RPL_UNAWAY
":You are no longer marked as being away" |
static int |
RPL_USERHOST
Reply format used by USERHOST to list replies to the query list. |
static int |
RPL_USERS
":%-8s %-9s %-8s" |
static int |
RPL_USERSSTART
":UserID Terminal Host" |
static int |
RPL_VERSION
Reply by the server showing its version details. |
static int |
RPL_WHOISCHANNELS
Replies 311 - 313, 317 - 319 are all replies generated in response to a WHOIS message. |
static int |
RPL_WHOISIDLE
"<nick> <integer> :seconds idle" |
static int |
RPL_WHOISOPERATOR
"<nick> :is an IRC operator" |
static int |
RPL_WHOISSERVER
"<nick> <server> :<server info>" |
static int |
RPL_WHOISUSER
"<nick> <user> <host> * :<real name>" |
static int |
RPL_WHOREPLY
"<channel> <user> <host> <server> <nick> <H|G>[*][@|+] :<hopcount> <real name>" |
static int |
RPL_WHOWASUSER
"<nick> <user> <host> * :<real name>" |
static int |
RPL_YOUREOPER
RPL_YOUREOPER is sent back to a client which has just successfully issued an OPER message and gained operator status. |
Field Detail |
---|
static final int ERR_NOSUCHNICK
"<nickname> :No such nick/channel"
static final int ERR_NOSUCHSERVER
"<server name> :No such server"
static final int ERR_NOSUCHCHANNEL
"<channel name> :No such channel"
static final int ERR_CANNOTSENDTOCHAN
"<channel name> :Cannot send to channel"
static final int ERR_TOOMANYCHANNELS
"<channel name> :You have joined too many channels"
static final int ERR_WASNOSUCHNICK
"<nickname> :There was no such nickname"
static final int ERR_TOOMANYTARGETS
"<target> :Duplicate recipients. No message delivered"
static final int ERR_NOORIGIN
":No origin specified"
static final int ERR_NORECIPIENT
":No recipient given (<command>)"
static final int ERR_NOTEXTTOSEND
":No text to send"
static final int ERR_NOTOPLEVEL
"<mask> :No toplevel domain specified"
static final int ERR_WILDTOPLEVEL
"<mask> :Wildcard in toplevel domain"
static final int ERR_UNKNOWNCOMMAND
"<command> :Unknown command"
static final int ERR_NOMOTD
":MOTD File is missing"
static final int ERR_NOADMININFO
"<server> :No administrative info available"
static final int ERR_FILEERROR
":File error doing <file op> on <file>"
static final int ERR_NONICKNAMEGIVEN
":No nickname given"
static final int ERR_ERRONEUSNICKNAME
"<nick> :Erroneus nickname"
static final int ERR_NICKNAMEINUSE
"<nick> :Nickname is already in use"
static final int ERR_NICKCOLLISION
"<nick> :Nickname collision KILL"
static final int ERR_USERNOTINCHANNEL
"<nick> <channel> :They aren't on that channel"
static final int ERR_NOTONCHANNEL
"<channel> :You're not on that channel"
static final int ERR_USERONCHANNEL
"<user> <channel> :is already on channel"
static final int ERR_NOLOGIN
"<user> :User not logged in"
static final int ERR_SUMMONDISABLED
":SUMMON has been disabled"
static final int ERR_USERSDISABLED
":USERS has been disabled"
static final int ERR_NOTREGISTERED
":You have not registered"
static final int ERR_NEEDMOREPARAMS
"<command> :Not enough parameters"
static final int ERR_ALREADYREGISTRED
":You may not reregister"
static final int ERR_NOPERMFORHOST
":Your host isn't among the privileged"
static final int ERR_PASSWDMISMATCH
":Password incorrect"
static final int ERR_YOUREBANNEDCREEP
":You are banned from this server"
static final int ERR_KEYSET
"<channel> :Channel key already set"
static final int ERR_CHANNELISFULL
"<channel> :Cannot join channel (+l)"
static final int ERR_UNKNOWNMODE
"<char> :is unknown mode char to me"
static final int ERR_INVITEONLYCHAN
"<channel> :Cannot join channel (+i)"
static final int ERR_BANNEDFROMCHAN
"<channel> :Cannot join channel (+b)"
static final int ERR_BADCHANNELKEY
"<channel> :Cannot join channel (+k)"
static final int ERR_NOPRIVILEGES
":Permission Denied- You're not an IRC operator"
static final int ERR_CHANOPRIVSNEEDED
"<channel> :You're not channel operator"
static final int ERR_CANTKILLSERVER
":You cant kill a server!"
static final int ERR_NOOPERHOST
":No O-lines for your host"
static final int ERR_UMODEUNKNOWNFLAG
":Unknown MODE flag"
static final int ERR_USERSDONTMATCH
":Cant change mode for other users"
static final int RPL_NONE
static final int RPL_USERHOST
<reply> ::= <nick>['*'] '=' <'+'|'-'><hostname>The '*' indicates whether the client has registered as an Operator. The '-' or '+' characters represent whether the client has set an AWAY message or not respectively.
":[<reply>{<space><reply>}]"
static final int RPL_ISON
":[<nick> {<space><nick>}]"
static final int RPL_AWAY
"<nick> :<away message>"
static final int RPL_UNAWAY
":You are no longer marked as being away"
static final int RPL_NOWAWAY
":You have been marked as being away"
static final int RPL_WHOISUSER
"<nick> <user> <host> * :<real name>"
static final int RPL_WHOISSERVER
"<nick> <server> :<server info>"
static final int RPL_WHOISOPERATOR
"<nick> :is an IRC operator"
static final int RPL_WHOISIDLE
"<nick> <integer> :seconds idle"
static final int RPL_ENDOFWHOIS
"<nick> :End of /WHOIS list"
static final int RPL_WHOISCHANNELS
"<nick> :{[@|+]<channel><space>}"
static final int RPL_WHOWASUSER
"<nick> <user> <host> * :<real name>"
static final int RPL_ENDOFWHOWAS
"<nick> :End of WHOWAS"
static final int RPL_LISTSTART
"Channel :Users Name"
static final int RPL_LIST
"<channel> <# visible> :<topic>"
static final int RPL_LISTEND
":End of /LIST"
static final int RPL_CHANNELMODEIS
"<channel> <mode> <mode params>"
static final int RPL_NOTOPIC
"<channel> :No topic is set"
static final int RPL_TOPIC
"<channel> :<topic>"
static final int RPL_INVITING
"<channel> <nick>"
static final int RPL_SUMMONING
"<user> :Summoning user to IRC"
static final int RPL_VERSION
"<version>.<debuglevel> <server> :<comments>"
static final int RPL_WHOREPLY
"<channel> <user> <host> <server> <nick> <H|G>[*][@|+] :<hopcount> <real name>"
static final int RPL_ENDOFWHO
"<name> :End of /WHO list"
static final int RPL_NAMREPLY
"<channel> :[[@|+]<nick> [[@|+]<nick> [...]]]"
static final int RPL_ENDOFNAMES
"<channel> :End of /NAMES list"
static final int RPL_LINKS
"<mask> <server> :<hopcount> <server info>"
static final int RPL_ENDOFLINKS
"<mask> :End of /LINKS list"
static final int RPL_BANLIST
"<channel> <banid>"
static final int RPL_ENDOFBANLIST
"<channel> :End of channel ban list"
static final int RPL_INFO
":<string>"
static final int RPL_ENDOFINFO
":End of /INFO list"
static final int RPL_MOTDSTART
":- <server> Message of the day - "
static final int RPL_MOTD
":- <text>"
static final int RPL_ENDOFMOTD
":End of /MOTD command"
static final int RPL_YOUREOPER
":You are now an IRC operator"
static final int RPL_REHASHING
"<config file> :Rehashing"
static final int RPL_TIME
"<server> :<string showing server's local time>"
static final int RPL_USERSSTART
":UserID Terminal Host"
static final int RPL_USERS
":%-8s %-9s %-8s"
static final int RPL_ENDOFUSERS
":End of users"
static final int RPL_NOUSERS
":Nobody logged in"
static final int RPL_TRACELINK
"Link <version & debug level> <destination> <next server>"
static final int RPL_TRACECONNECTING
"Try. <class> <server>"
static final int RPL_TRACEHANDSHAKE
"H.S. <class> <server>"
static final int RPL_TRACEUNKNOWN
"???? <class> [<client IP address in dot form>]"
static final int RPL_TRACEOPERATOR
"Oper <class> <nick>"
static final int RPL_TRACEUSER
"User <class> <nick>"
static final int RPL_TRACESERVER
"Serv <class> <int>S <int>C <server> <nick!user|*!*>@<host|server>"
static final int RPL_TRACENEWTYPE
"<newtype> 0 <client name>"
static final int RPL_TRACELOG
"File <logfile> <debug level>"
static final int RPL_STATSLINKINFO
"<linkname> <sendq> <sent messages> <sent bytes> <received messages> <received bytes> <time open>"
static final int RPL_STATSCOMMANDS
"<command> <count>"
static final int RPL_STATSCLINE
"C <host> * <name> <port> <class>"
static final int RPL_STATSNLINE
"N <host> * <name> <port> <class>"
static final int RPL_STATSILINE
"I <host> * <host> <port> <class>"
static final int RPL_STATSKLINE
"K <host> * <username> <port> <class>"
static final int RPL_STATSYLINE
"Y <class> <ping frequency> <connect frequency> <max sendq>"
static final int RPL_ENDOFSTATS
"<stats letter> :End of /STATS report"
static final int RPL_STATSLLINE
"L <hostmask> * <servername> <maxdepth>"
static final int RPL_STATSUPTIME
":Server Up %d days %d:%02d:%02d"
static final int RPL_STATSOLINE
"O <hostmask> * <name>"
static final int RPL_STATSHLINE
"H <hostmask> * <servername>"
static final int RPL_UMODEIS
"<user mode string>"
static final int RPL_LUSERCLIENT
":There are <integer> users and <integer> invisible on <integer> servers"
static final int RPL_LUSEROP
"<integer> :operator(s) online"
static final int RPL_LUSERUNKNOWN
"<integer> :unknown connection(s)"
static final int RPL_LUSERCHANNELS
"<integer> :channels formed"
static final int RPL_LUSERME
":I have <integer> clients and <integer> servers"
static final int RPL_ADMINME
"<server> :Administrative info"
static final int RPL_ADMINLOC1
":<admin info>"
static final int RPL_ADMINLOC2
":<admin info>"
static final int RPL_ADMINEMAIL
":<admin info>"
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |