|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.util.EventObject | +--java.awt.AWTEvent | +--com.objexcel.irc.IRCMessage
IRCMessage contains the irc message data
Field Summary | |
int |
cmdNum
the IRC command (either this or the command string will be present) |
java.lang.String |
command
the IRC command (either this or the cmdnum will be present) |
IRCController |
controller
the controller that created this message. |
static short |
ERR_
- Returned to a client which is attempting to send a PRIVMSG/NOTICE using the user@host destination format and for a user@host which has several occurrences. |
static short |
ERR_ALREADYREGISTRED
":You may not reregister" - 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 short |
ERR_BADCHANNELKEY
" |
static short |
ERR_BANNEDFROMCHAN
" |
static short |
ERR_CANNOTSENDTOCHAN
" |
static short |
ERR_CANTKILLSERVER
":You cant kill a server!" - Any attempts to use the KILL command on a server are to be refused and this error returned directly to the client. |
static short |
ERR_CHANNELISFULL
" |
static short |
ERR_CHANOPRIVSNEEDED
" |
static short |
ERR_ERRONEUSNICKNAME
" |
static short |
ERR_FILEERROR
":File error doing |
static short |
ERR_INVITEONLYCHAN
" |
static short |
ERR_KEYSET
" |
static short |
ERR_NEEDMOREPARAMS
" |
static short |
ERR_NICKCOLLISION
" |
static short |
ERR_NICKNAMEINUSE
" |
static short |
ERR_NOADMININFO
" |
static short |
ERR_NOLOGIN
" |
static short |
ERR_NOMOTD
":MOTD File is missing" - Server's MOTD file could not be opened by the server. |
static short |
ERR_NONICKNAMEGIVEN
":No nickname given" - Returned when a nickname parameter expected for a command and isn't found. |
static short |
ERR_NOOPERHOST
":No O-lines for your host" - 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 short |
ERR_NOORIGIN
":No origin specified" - PING or PONG message missing the originator parameter which is required since these commands must work without valid prefixes. |
static short |
ERR_NOPERMFORHOST
":Your host isn't among the privileged" - 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 short |
ERR_NOPRIVILEGES
":Permission Denied- You're not an IRC operator" - Any command requiring operator privileges to operate must return this error to indicate the attempt was unsuccessful. |
static short |
ERR_NORECIPIENT
":No recipient given ( |
static short |
ERR_NOSUCHCHANNEL
" |
static short |
ERR_NOSUCHNICK
" |
static short |
ERR_NOSUCHSERVER
" |
static short |
ERR_NOTEXTTOSEND
":No text to send" |
static short |
ERR_NOTONCHANNEL
" |
static short |
ERR_NOTOPLEVEL
" |
static short |
ERR_NOTREGISTERED
":You have not registered" - Returned by the server to indicate that the client must be registered before the server will allow it to be parsed in detail. |
static short |
ERR_PASSWDMISMATCH
":Password incorrect" - Returned to indicate a failed attempt at registering a connection for which a password was required and was either not given or incorrect. |
static short |
ERR_SUMMONDISABLED
":SUMMON has been disabled" - Returned as a response to the SUMMON command. |
static short |
ERR_TOOMANYCHANNELS
" |
static short |
ERR_TOOMANYTARGETS
" |
static short |
ERR_UMODEUNKNOWNFLAG
":Unknown MODE flag" - 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 short |
ERR_UNKNOWNCOMMAND
" |
static short |
ERR_UNKNOWNMODE
" |
static short |
ERR_USERNOTINCHANNEL
" |
static short |
ERR_USERONCHANNEL
" |
static short |
ERR_USERSDISABLED
":USERS has been disabled" - Returned as a response to the USERS command. |
static short |
ERR_USERSDONTMATCH
":Cant change mode for other users" - Error sent to any user trying to view or change the user mode for a user other than themselves. |
static short |
ERR_WASNOSUCHNICK
" |
static short |
ERR_WILDTOPLEVEL
" |
static short |
ERR_YOUREBANNEDCREEP
":You are banned from this server" - Returned after an attempt to connect and register yourself with a server which has been setup to explicitly deny connections to you. |
static int |
ERRORLEVEL
something bad, but not fatal occurred. |
static int |
FATALLEVEL
something causing the end of an irc session (the worst thing possible in our world!) has occurred. |
static int |
GENERAL
an event id |
java.lang.String |
host
the host of the user sending the message, optional |
static int |
INFOLEVEL
this Objirc Chat message if information only |
java.lang.String |
lowerNick
same as nickname but in lower case (for efficiency), optional |
java.lang.String |
nickname
the nickname of the user sending the message, optional (i.e. |
int |
nInfoLevel
if this is an objirc chat info event, then this is the 'criticality' of it per the level constants. |
java.lang.String |
ObjircInfo
String Objirc info (message comes from this app, not a server) |
static int |
OBJIRCINFO
the event id if this message is information sent by objirc chat |
java.lang.String |
params
everything after the command |
java.lang.String |
parseError
If this message is for a parse error, this field describes what Objirc chat could not parse. |
static int |
PARSEERROR
the event id if OBjirc chat couldn't parse an IRC message |
java.lang.String |
rawMessage
the original message in itsraw form |
static short |
RPL_ADMINEMAIL
|
static short |
RPL_ADMINLOC1
|
static short |
RPL_ADMINLOC2
|
static short |
RPL_ADMINME
|
static short |
RPL_AWAY
|
static short |
RPL_BANLIST
|
static short |
RPL_CHANNELMODEIS
|
static short |
RPL_CLOSEEND
|
static short |
RPL_CLOSING
|
static short |
RPL_ENDOFBANLIST
|
static short |
RPL_ENDOFINFO
|
static short |
RPL_ENDOFLINKS
|
static short |
RPL_ENDOFMOTD
|
static short |
RPL_ENDOFNAMES
|
static short |
RPL_ENDOFSERVICES
|
static short |
RPL_ENDOFSTATS
|
static short |
RPL_ENDOFUSERS
|
static short |
RPL_ENDOFWHO
|
static short |
RPL_ENDOFWHOIS
|
static short |
RPL_ENDOFWHOWAS
|
static short |
RPL_INFO
|
static short |
RPL_INFOSTART
|
static short |
RPL_INVITING
|
static short |
RPL_ISON
|
static short |
RPL_KILLDONE
|
static short |
RPL_LINKS
|
static short |
RPL_LIST
|
static short |
RPL_LISTEND
|
static short |
RPL_LISTSTART
|
static short |
RPL_LUSERCHANNELS
|
static short |
RPL_LUSERCLIENT
|
static short |
RPL_LUSERME
|
static short |
RPL_LUSEROP
|
static short |
RPL_LUSERUNKNOWN
|
static short |
RPL_MOTD
|
static short |
RPL_MOTDSTART
|
static short |
RPL_MYPORTIS
|
static short |
RPL_NAMREPLY
|
static short |
RPL_NONE
|
static short |
RPL_NOTOPIC
|
static short |
RPL_NOUSERS
|
static short |
RPL_NOWAWAY
|
static short |
RPL_REHASHING
|
static short |
RPL_SERVICE
|
static short |
RPL_SERVICEINFO
|
static short |
RPL_SERVLIST
|
static short |
RPL_SERVLISTEND
|
static short |
RPL_STATSCLINE
|
static short |
RPL_STATSCOMMANDS
|
static short |
RPL_STATSHLINE
|
static short |
RPL_STATSILINE
|
static short |
RPL_STATSKLINE
|
static short |
RPL_STATSLINKINFO
|
static short |
RPL_STATSLLINE
|
static short |
RPL_STATSNLINE
|
static short |
RPL_STATSOLINE
|
static short |
RPL_STATSQLINE
|
static short |
RPL_STATSUPTIME
|
static short |
RPL_STATSYLINE
|
static short |
RPL_SUMMONING
|
static short |
RPL_TIME
|
static short |
RPL_TOPIC
|
static short |
RPL_TOPICWHOTIME
|
static short |
RPL_TRACECLASS
|
static short |
RPL_TRACECONNECTING
|
static short |
RPL_TRACEHANDSHAKE
|
static short |
RPL_TRACELINK
|
static short |
RPL_TRACELOG
|
static short |
RPL_TRACENEWTYPE
|
static short |
RPL_TRACEOPERATOR
|
static short |
RPL_TRACESERVER
|
static short |
RPL_TRACEUNKNOWN
|
static short |
RPL_TRACEUSER
|
static short |
RPL_UMODEIS
|
static short |
RPL_UNAWAY
|
static short |
RPL_USERHOST
|
static short |
RPL_USERS
|
static short |
RPL_USERSSTART
|
static short |
RPL_VERSION
|
static short |
RPL_WELCOME
|
static short |
RPL_WHOISCHANNELS
|
static short |
RPL_WHOISCHANOP
|
static short |
RPL_WHOISIDLE
|
static short |
RPL_WHOISOPERATOR
|
static short |
RPL_WHOISSERVER
|
static short |
RPL_WHOISUSER
|
static short |
RPL_WHOREPLY
|
static short |
RPL_WHOWASUSER
|
static short |
RPL_YOUREOPER
|
java.lang.String |
serverName
name of the server, if this is a server sent message |
static int |
SESSIONCONNECTING
the event id if this message is telling us the irc session is connecting |
static int |
SESSIONSTARTED
the event id if this message is telling us the irc session has connected |
static int |
SESSIONTERMINATED
the event id if this message is telling us the irc session was terminated i.e. |
java.lang.String |
user
the user (i.e. |
Fields inherited from class java.awt.AWTEvent |
ACTION_EVENT_MASK,
ADJUSTMENT_EVENT_MASK,
COMPONENT_EVENT_MASK,
CONTAINER_EVENT_MASK,
FOCUS_EVENT_MASK,
INPUT_METHOD_EVENT_MASK,
ITEM_EVENT_MASK,
KEY_EVENT_MASK,
MOUSE_EVENT_MASK,
MOUSE_MOTION_EVENT_MASK,
RESERVED_ID_MAX,
TEXT_EVENT_MASK,
WINDOW_EVENT_MASK |
Constructor Summary | |
IRCMessage(IRCController controller,
int id)
|
Methods inherited from class java.awt.AWTEvent |
getID,
paramString,
toString |
Methods inherited from class java.util.EventObject |
getSource |
Methods inherited from class java.lang.Object |
equals,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
Field Detail |
public IRCController controller
public java.lang.String rawMessage
public java.lang.String parseError
public java.lang.String ObjircInfo
public int nInfoLevel
public static final int INFOLEVEL
public static final int ERRORLEVEL
public static final int FATALLEVEL
public java.lang.String nickname
public java.lang.String lowerNick
public java.lang.String user
public java.lang.String host
public java.lang.String serverName
public java.lang.String command
public int cmdNum
public java.lang.String params
public static final int GENERAL
public static final int OBJIRCINFO
public static final int SESSIONCONNECTING
public static final int SESSIONSTARTED
public static final int SESSIONTERMINATED
public static final int PARSEERROR
public static final short RPL_WELCOME
public static final short RPL_ADMINEMAIL
public static final short RPL_ADMINLOC1
public static final short RPL_ADMINLOC2
public static final short RPL_ADMINME
public static final short RPL_AWAY
public static final short RPL_BANLIST
public static final short RPL_CHANNELMODEIS
public static final short RPL_CLOSEEND
public static final short RPL_CLOSING
public static final short RPL_ENDOFBANLIST
public static final short RPL_ENDOFINFO
public static final short RPL_ENDOFLINKS
public static final short RPL_ENDOFMOTD
public static final short RPL_ENDOFNAMES
public static final short RPL_ENDOFSERVICES
public static final short RPL_ENDOFSTATS
public static final short RPL_ENDOFUSERS
public static final short RPL_ENDOFWHO
public static final short RPL_ENDOFWHOIS
public static final short RPL_ENDOFWHOWAS
public static final short RPL_INFO
public static final short RPL_INFOSTART
public static final short RPL_INVITING
public static final short RPL_ISON
public static final short RPL_KILLDONE
public static final short RPL_LINKS
public static final short RPL_LIST
public static final short RPL_LISTEND
public static final short RPL_LISTSTART
public static final short RPL_LUSERCHANNELS
public static final short RPL_LUSERCLIENT
public static final short RPL_LUSERME
public static final short RPL_LUSEROP
public static final short RPL_LUSERUNKNOWN
public static final short RPL_MOTD
public static final short RPL_MOTDSTART
public static final short RPL_MYPORTIS
public static final short RPL_NAMREPLY
public static final short RPL_NONE
public static final short RPL_NOTOPIC
public static final short RPL_NOUSERS
public static final short RPL_NOWAWAY
public static final short RPL_REHASHING
public static final short RPL_SERVICE
public static final short RPL_SERVICEINFO
public static final short RPL_SERVLIST
public static final short RPL_SERVLISTEND
public static final short RPL_STATSCLINE
public static final short RPL_STATSCOMMANDS
public static final short RPL_STATSHLINE
public static final short RPL_STATSILINE
public static final short RPL_STATSKLINE
public static final short RPL_STATSLINKINFO
public static final short RPL_STATSLLINE
public static final short RPL_STATSNLINE
public static final short RPL_STATSOLINE
public static final short RPL_STATSQLINE
public static final short RPL_STATSUPTIME
public static final short RPL_STATSYLINE
public static final short RPL_SUMMONING
public static final short RPL_TIME
public static final short RPL_TOPIC
public static final short RPL_TOPICWHOTIME
public static final short RPL_TRACECLASS
public static final short RPL_TRACECONNECTING
public static final short RPL_TRACEHANDSHAKE
public static final short RPL_TRACELINK
public static final short RPL_TRACELOG
public static final short RPL_TRACENEWTYPE
public static final short RPL_TRACEOPERATOR
public static final short RPL_TRACESERVER
public static final short RPL_TRACEUNKNOWN
public static final short RPL_TRACEUSER
public static final short RPL_UMODEIS
public static final short RPL_UNAWAY
public static final short RPL_USERHOST
public static final short RPL_USERS
public static final short RPL_USERSSTART
public static final short RPL_VERSION
public static final short RPL_WHOISCHANOP
public static final short RPL_WHOISUSER
public static final short RPL_WHOISSERVER
public static final short RPL_WHOISOPERATOR
public static final short RPL_WHOISIDLE
public static final short RPL_WHOISCHANNELS
public static final short RPL_WHOREPLY
public static final short RPL_WHOWASUSER
public static final short RPL_YOUREOPER
public static final short ERR_NOSUCHNICK
public static final short ERR_NOSUCHSERVER
public static final short ERR_NOSUCHCHANNEL
public static final short ERR_CANNOTSENDTOCHAN
public static final short ERR_TOOMANYCHANNELS
public static final short ERR_WASNOSUCHNICK
public static final short ERR_TOOMANYTARGETS
public static final short ERR_
public static final short ERR_NOORIGIN
public static final short ERR_NORECIPIENT
public static final short ERR_NOTEXTTOSEND
public static final short ERR_NOTOPLEVEL
public static final short ERR_WILDTOPLEVEL
public static final short ERR_UNKNOWNCOMMAND
public static final short ERR_NOMOTD
public static final short ERR_NOADMININFO
public static final short ERR_FILEERROR
public static final short ERR_NONICKNAMEGIVEN
public static final short ERR_ERRONEUSNICKNAME
public static final short ERR_NICKNAMEINUSE
public static final short ERR_NICKCOLLISION
public static final short ERR_USERNOTINCHANNEL
public static final short ERR_NOTONCHANNEL
public static final short ERR_USERONCHANNEL
public static final short ERR_NOLOGIN
public static final short ERR_SUMMONDISABLED
public static final short ERR_USERSDISABLED
public static final short ERR_NOTREGISTERED
public static final short ERR_NEEDMOREPARAMS
public static final short ERR_ALREADYREGISTRED
public static final short ERR_NOPERMFORHOST
public static final short ERR_PASSWDMISMATCH
public static final short ERR_YOUREBANNEDCREEP
public static final short ERR_KEYSET
public static final short ERR_CHANNELISFULL
public static final short ERR_UNKNOWNMODE
public static final short ERR_INVITEONLYCHAN
public static final short ERR_BANNEDFROMCHAN
public static final short ERR_BADCHANNELKEY
public static final short ERR_NOPRIVILEGES
public static final short ERR_CHANOPRIVSNEEDED
public static final short ERR_CANTKILLSERVER
public static final short ERR_NOOPERHOST
public static final short ERR_UMODEUNKNOWNFLAG
public static final short ERR_USERSDONTMATCH
Constructor Detail |
public IRCMessage(IRCController controller, int id)
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |