|
|||||||||
| 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 BuddyUpdateTocResponse

java.lang.Objectcom.wilko.jaim.TocResponse
com.wilko.jaim.BuddyUpdateTocResponse
- All Implemented Interfaces:
- TocResponseHandler
- public class BuddyUpdateTocResponse
- extends TocResponse
- implements TocResponseHandler
- extends TocResponse
A BuddyUpdateTocResponse is delivered to a JaimEventListener when a buddy update is received from the TOC server
- Version:
- $Revision: 1.7 $
| Field Summary | |
private boolean |
admin
|
private boolean |
away
|
private java.lang.String |
buddyName
|
private boolean |
confirmed
|
private int |
evil
|
private int |
idleTime
|
private boolean |
onAOL
|
private boolean |
online
|
static java.lang.String |
RESPONSE_TYPE
|
private java.util.Date |
signonTime
|
private boolean |
unconfirmed
|
| Fields inherited from class com.wilko.jaim.TocResponse |
cmd |
| Constructor Summary | |
BuddyUpdateTocResponse()
Creates new BuddyUpdateTocResponse |
|
| 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)
|
java.lang.String |
getBuddy()
Obtain the buddy name from this update |
int |
getEvil()
Obtain the "Evil" (Warning) level of this buddy |
int |
getIdleTime()
Obtain the idle time of this buddy |
java.lang.String |
getResponseType()
Get the response type of this response. |
java.util.Date |
getSignonTime()
Get the signon time of this buddy |
boolean |
isAdmin()
Is this buddy an "Administrator" |
boolean |
isAway()
Get the away status of the buddy specified by this update |
boolean |
isConfirmed()
IS this buddy a "confirmed" user |
boolean |
isOnline()
Obtain the online status of this buddy update |
boolean |
isUnconfirmed()
Is this user an "Unconfirmed user" |
TocResponse |
parseString(java.lang.String str)
The parseString method is used to populate the fields of this class from a Buddy Update string 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 |
buddyName
private java.lang.String buddyName
online
private boolean online
evil
private int evil
idleTime
private int idleTime
onAOL
private boolean onAOL
unconfirmed
private boolean unconfirmed
admin
private boolean admin
confirmed
private boolean confirmed
signonTime
private java.util.Date signonTime
away
private boolean away
RESPONSE_TYPE
public static java.lang.String RESPONSE_TYPE
| Constructor Detail |
BuddyUpdateTocResponse
public BuddyUpdateTocResponse()
- Creates new BuddyUpdateTocResponse
| Method Detail |
parseString
public TocResponse parseString(java.lang.String str)
- The parseString method is used to populate the fields of this class from a Buddy Update string from the TOC server
- Specified by:
parseStringin interfaceTocResponseHandler
doParse
private void doParse(java.lang.String str)
isAway
public boolean isAway()
- Get the away status of the buddy specified by this update
getResponseType
public java.lang.String getResponseType()
- Get the response type of this response. This method is used by the response dispatcher within JaimConnection
- Specified by:
getResponseTypein classTocResponse
getBuddy
public java.lang.String getBuddy()
- Obtain the buddy name from this update
isOnline
public boolean isOnline()
- Obtain the online status of this buddy update
getIdleTime
public int getIdleTime()
- Obtain the idle time of this buddy
getEvil
public int getEvil()
- Obtain the "Evil" (Warning) level of this buddy
isAdmin
public boolean isAdmin()
- Is this buddy an "Administrator"
isConfirmed
public boolean isConfirmed()
- IS this buddy a "confirmed" user
isUnconfirmed
public boolean isUnconfirmed()
- Is this user an "Unconfirmed user"
getSignonTime
public java.util.Date getSignonTime()
- Get the signon time of this buddy
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