|
|||||||||
| Home >> All >> com >> wilko >> [ jaim overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
com.wilko.jaim
Class EvilTocResponse

java.lang.Objectcom.wilko.jaim.TocResponse
com.wilko.jaim.EvilTocResponse
- All Implemented Interfaces:
- TocResponseHandler
- public class EvilTocResponse
- extends TocResponse
- implements TocResponseHandler
- extends TocResponse
An EvilTocResponse is delivered to a JaimEventListener when the signed on buddy is "eviled" or warned
- Version:
- $Revision: 1.6 $
| Field Summary | |
private boolean |
anonymousEvil
|
private int |
evilAmount
|
private java.lang.String |
evilBy
|
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. |
private void |
doParse(java.lang.String str)
|
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 |
anonymousEvil
private boolean anonymousEvil
evilAmount
private int evilAmount
evilBy
private java.lang.String evilBy
RESPONSE_TYPE
public static final java.lang.String RESPONSE_TYPE
- See Also:
- Constant Field Values
| Constructor Detail |
EvilTocResponse
public EvilTocResponse()
- Creates new EvilTocResponse
| Method Detail |
parseString
public TocResponse parseString(java.lang.String str)
- Parse the evil message from the TOC server
- Specified by:
parseStringin interfaceTocResponseHandler
doParse
private void doParse(java.lang.String str)
getEvilAmount
public int getEvilAmount()
- Get the evil amount from this response. This is the current evil or warning level for the authenticated buddy, not the increment specified by the last warning
getEvilBy
public java.lang.String getEvilBy()
- Obtain the name of the buddy that issued the warning.
isAnonymous
public boolean isAnonymous()
- Obtain the anonymous status of this warning
getResponseType
public java.lang.String getResponseType()
- Used by the response dispatcher
- Specified by:
getResponseTypein classTocResponse
canHandle
public boolean canHandle(java.lang.String Response)
- Returns true if this response handler can handle the specified response.
- Specified by:
canHandlein interfaceTocResponseHandler
|
|||||||||
| Home >> All >> com >> wilko >> [ jaim overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC