|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.walluck.oscar.handlers.icq.ICQPacket
ICQ Packet.
Constructor Summary | |
ICQPacket(java.lang.String sn,
int cmd,
int subcmd)
Creates a new ICQ packet. |
Method Summary | |
int |
getCmd()
Get the value of cmd. |
byte[] |
getData()
Get the value of data. |
int |
getId()
Get the value of id. |
java.lang.String |
getSN()
Get the value of sn. |
int |
getSubcmd()
Get the value of subcmd. |
boolean |
isSMS()
Get the value of sms. |
void |
setCmd(int cmd)
Set the value of cmd. |
void |
setData(byte[] data)
Set the value of data. |
void |
setId(int id)
Set the value of id. |
void |
setSMS(boolean sms)
Set the value of SMS. |
void |
setSN(java.lang.String sn)
Set the value of sn. |
void |
setSubcmd(int subcmd)
Set the value of subcmd. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ICQPacket(java.lang.String sn, int cmd, int subcmd)
sn
- the screenname (UIN)cmd
- the commandsubcmd
- the sub-commandMethod Detail |
public java.lang.String getSN()
public void setSN(java.lang.String sn)
sn
- Value to assign to sn.public int getCmd()
public void setCmd(int cmd)
cmd
- Value to assign to cmd.public int getSubcmd()
public void setSubcmd(int subcmd)
subcmd
- Value to assign to subcmd.public boolean isSMS()
public void setSMS(boolean sms)
sms
- Value to assign to SMS.public int getId()
public void setId(int id)
id
- Value to assign to id.public byte[] getData()
public void setData(byte[] data)
data
- Value to assign to data.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |