|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.walluck.oscar.UserInfo
public class UserInfo
Handles user information which is usally seen during a buddyChange event.
Nested Class Summary | |
---|---|
class |
UserInfo.ICQInfo
Handles user information that is specific to ICQ. |
Constructor Summary | |
---|---|
UserInfo()
Creates a new user information class. |
Method Summary | |
---|---|
String |
getAvailableMsg()
Get the value of availableMsg. |
String |
getAvailableMsgEncoding()
Get the value of availableMsgEncoding. |
int |
getCapabilities()
Get the value of capabilities. |
int |
getCapabilities2()
Get the value of capabilities2. |
int |
getCapabilities3()
Get the value of capabilities3. |
short |
getFlags()
Get the value of flags. |
TLV |
getIconData()
Get the value of iconData. |
UserInfo.ICQInfo |
getIcqInfo()
Get the value of icqInfo. |
short |
getIdleTime()
Get the value of idleTime. |
int |
getMemberSince()
Get the value of memberSince. |
int |
getOnlineSince()
Get the value of onlineSince. |
int |
getPresent()
Get the value of present. |
byte[] |
getSecureIM()
Get the value of secureIM. |
int |
getSessionLen()
Get the value of sessionLen. |
String |
getSN()
Get the value of sn. |
int |
getUnknown001E()
Get the value of unknown001E. |
float |
getWarnLevel()
Get the value of warnLevel. |
boolean |
hasCap(int capabilities)
Returns true if the user has a certain capability flag. |
void |
setAvailableMsg(String availableMsg)
Sets the value of availableMsg. |
void |
setAvailableMsgEncoding(String availableMsgEncoding)
Sets the value of availableMsgEncoding. |
void |
setCapabilities(int capabilities)
Set the value of capabilities. |
void |
setCapabilities2(int capabilities2)
Set the value of capabilities2. |
void |
setCapabilities3(int capabilities3)
Set the value of capabilities3. |
void |
setFlags(short flags)
Set the value of flags. |
void |
setIconData(TLV iconData)
Sets the value of iconData. |
void |
setIcqInfo(UserInfo.ICQInfo icqInfo)
Set the value of icqInfo. |
void |
setIdleTime(short idleTime)
Set the value of idleTime. |
void |
setMemberSince(int memberSince)
Set the value of memberSince. |
void |
setOnlineSince(int onlineSince)
Set the value of onlineSince. |
void |
setPresent(int present)
Sets the value of present. |
void |
setSecureIM(byte[] secureIM)
Set the value of secureIM. |
void |
setSessionLen(int sessionLen)
Set the value of sessionLen. |
void |
setSN(String sn)
Set the value of sn. |
void |
setUnknown001E(int unknown001E)
Sets the value of unknown001E. |
void |
setWarnLevel(short warnLevel)
Set the value of warnLevel. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public UserInfo()
Method Detail |
---|
public String getSN()
public void setSN(String sn)
sn
- Value to assign to sn.public float getWarnLevel()
public void setWarnLevel(short warnLevel)
warnLevel
- Value to assign to warnLevel.public short getIdleTime()
public void setIdleTime(short idleTime)
idleTime
- Value ot assign to idleTime.public short getFlags()
public void setFlags(short flags)
flags
- Value to assign to flags.public int getMemberSince()
public void setMemberSince(int memberSince)
memberSince
- Value to assign to memberSince.public int getOnlineSince()
public void setOnlineSince(int onlineSince)
onlineSince
- to assign to onlineSince.public int getSessionLen()
public void setSessionLen(int sessionLen)
sessionLen
- Value to assign to sessionLen.public int getCapabilities()
public void setCapabilities(int capabilities)
capabilities
- Value to assign to capabilities.public int getCapabilities2()
public void setCapabilities2(int capabilities2)
capabilities2
- Value to assign to capabilities2.public int getCapabilities3()
public void setCapabilities3(int capabilities3)
capabilities3
- Value to assign to capabilities3.public byte[] getSecureIM()
public void setSecureIM(byte[] secureIM)
secureIM
- Value to assign to secureIM.public boolean hasCap(int capabilities)
capabilities
- the capability flag
AIMConstants
public int getPresent()
public void setPresent(int present)
present
- Value to assign to present.public int getUnknown001E()
public void setUnknown001E(int unknown001E)
unknown001E
- Value to assign to unknown001E.public TLV getIconData()
public void setIconData(TLV iconData)
iconData
- Value to assign to iconData.public String getAvailableMsg()
public void setAvailableMsg(String availableMsg)
availableMsg
- Value to assign to availableMsg.public String getAvailableMsgEncoding()
public void setAvailableMsgEncoding(String availableMsgEncoding)
availableMsgEncoding
- Value to assign to availableMsgEncoding.public UserInfo.ICQInfo getIcqInfo()
public void setIcqInfo(UserInfo.ICQInfo icqInfo)
icqInfo
- Value ot assign to icqInfo.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |