net.kano.joscar.snaccmd.ssi
Class ActivateSsiCmd
java.lang.Object
SnacCommand
SsiCommand
ActivateSsiCmd
- public class ActivateSsiCmd
- extends SsiCommand
A SNAC command sent to "activate" the current server-stored data. Once this
command is sent, buddies on the server-stored buddy list will appear online,
users on the server-stored block list will be blocked, and so on.
- Source of this SNAC:
- AIM client
- SNAC command type:
- Family
0x13
, command 0x07
Fields inherited from class SsiCommand |
CMD_ACTIVATE, CMD_CREATE_ITEMS, CMD_DATA_CHECK, CMD_DATA_REQ, CMD_DELETE_ITEMS, CMD_MOD_ACK, CMD_MODIFY_ITEMS, CMD_POST_MOD, CMD_PRE_MOD, CMD_RIGHTS, CMD_RIGHTS_REQ, CMD_SSI_DATA, CMD_UNCHANGED, FAMILY_INFO, FAMILY_SSI |
Constructor Summary |
|
ActivateSsiCmd()
Creates a new outgoing SSI activation request. |
protected |
ActivateSsiCmd(SnacPacket packet)
Generates a new SSI activation command from the given incoming SNAC
packet. |
Method Summary |
java.lang.String |
toString()
|
void |
writeData(java.io.OutputStream out)
Writes this command's SNAC data block to the given stream. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ActivateSsiCmd
protected ActivateSsiCmd(SnacPacket packet)
- Generates a new SSI activation command from the given incoming SNAC
packet.
- Parameters:
packet
- an incoming SSI activation packet
ActivateSsiCmd
public ActivateSsiCmd()
- Creates a new outgoing SSI activation request.
writeData
public void writeData(java.io.OutputStream out)
throws java.io.IOException
- Description copied from class:
SnacCommand
- Writes this command's SNAC data block to the given stream. The SNAC data
block is the data after the first ten bytes of a SNAC packet.
- Specified by:
writeData
in class SnacCommand
- Parameters:
out
- the stream to which to write the SNAC data
- Throws:
java.io.IOException
- if an I/O error occurs
toString
public java.lang.String toString()