|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.wilko.jaim.TocResponse | +--com.wilko.jaim.EvilTocResponse
An EvilTocResponse is delivered to a JaimEventListener
when the signed on buddy is "eviled" or warned
Field Summary | |
static java.lang.String |
RESPONSE_TYPE
|
Fields inherited from class com.wilko.jaim.TocResponse |
cmd |
Constructor Summary | |
EvilTocResponse()
Creates new EvilTocResponse |
Method Summary | |
boolean |
canHandle(java.lang.String Response)
Returns true if this response handler can handle the specified response. |
int |
getEvilAmount()
Get the evil amount from this response. |
java.lang.String |
getEvilBy()
Obtain the name of the buddy that issued the warning. |
java.lang.String |
getResponseType()
Used by the response dispatcher |
boolean |
isAnonymous()
Obtain the anonymous status of this warning |
TocResponse |
parseString(java.lang.String str)
Parse the evil message from the TOC server |
Methods inherited from class com.wilko.jaim.TocResponse |
toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final java.lang.String RESPONSE_TYPE
Constructor Detail |
public EvilTocResponse()
Method Detail |
public TocResponse parseString(java.lang.String str)
parseString
in interface TocResponseHandler
str
- The evil message
public int getEvilAmount()
public java.lang.String getEvilBy()
isAnonymous()
public boolean isAnonymous()
public java.lang.String getResponseType()
getResponseType
in class TocResponse
public boolean canHandle(java.lang.String Response)
canHandle
in interface TocResponseHandler
Response
- - the response string from TOC. This is the part of the response before the first ':'
|
jaimlib.sourceforge.net | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |