|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
| Field Summary | |
static int |
IRC_ACTION_TYPE
|
static int |
IRC_CTCP_TYPE
|
static int |
IRC_HELP_REQUEST_TYPE
|
static int |
IRC_IDLE_CHANNEL_TYPE
|
static int |
IRC_NOTICE_TYPE
|
static int |
IRC_PRIVMSG_TYPE
|
| Method Summary | |
java.lang.String |
getCommand()
Get the command as sent by the server. |
Destination |
getDestination()
Get the destination that this request was routed to. |
java.util.Collection |
getDestinations()
Get the collection of recipients this message was sent to. |
java.lang.String |
getMessage()
Get the text of the message that was sent. |
java.util.List |
getMessageTokens()
Get the text of the message that was sent in tokenized string form. |
java.util.List |
getParameters()
Get all the parameters to this request as a Collection of Strings. |
java.lang.String |
getPrefix()
Get the prefix to this request as sent by the server. |
IRCSession |
getSession()
Get the session associated with this request. |
Source |
getSource()
Returns the source of the message. |
int |
getType()
|
boolean |
toMe()
This returns whether or not the request was directed at the bot runtime directly (ie a direct privmsg or public salutation). |
boolean |
toMe(boolean publicToo)
This returns whether or not the request was directed at the bot runtime directly (ie a direct privmsg) with the boolean indicating you want public requests as well. |
boolean |
toMePrivate()
|
boolean |
toMePublic()
|
| Methods inherited from interface javax.servlet.ServletRequest |
getAttribute, getAttributeNames, getCharacterEncoding, getContentLength, getContentType, getInputStream, getLocale, getLocales, getParameter, getParameterNames, getParameterValues, getProtocol, getReader, getRealPath, getRemoteAddr, getRemoteHost, getRequestDispatcher, getScheme, getServerName, getServerPort, isSecure, removeAttribute, setAttribute |
| Field Detail |
public static final int IRC_PRIVMSG_TYPE
public static final int IRC_HELP_REQUEST_TYPE
public static final int IRC_IDLE_CHANNEL_TYPE
public static final int IRC_NOTICE_TYPE
public static final int IRC_ACTION_TYPE
public static final int IRC_CTCP_TYPE
| Method Detail |
public Source getSource()
public java.util.Collection getDestinations()
public Destination getDestination()
public java.lang.String getMessage()
public java.util.List getMessageTokens()
public java.lang.String getCommand()
public java.lang.String getPrefix()
public java.util.List getParameters()
public IRCSession getSession()
public boolean toMe()
public boolean toMePublic()
public boolean toMePrivate()
public boolean toMe(boolean publicToo)
public int getType()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||