net.kano.joscar.snaccmd.ssi
Class PostModCmd

java.lang.Object
  extended bySnacCommand
      extended bySsiCommand
          extended byPostModCmd

public class PostModCmd
extends SsiCommand

A SNAC command that WinAIM sends sometimes after modifying the buddy list after sending a PreModCmd. That is all that is currently known about this command. It looks like whether you send it or not you will be fine.

See Also:
PreModCmd
Source of this SNAC:
AIM client
SNAC command type:
Family 0x13, command 0x12

Field Summary
 
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
 
Fields inherited from class SnacCommand
SNACFLAG_DEFAULT
 
Constructor Summary
  PostModCmd()
          Creates a new outgoing post-SSI-modification command.
protected PostModCmd(SnacPacket packet)
          Generates a post-SSI-modification 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 SnacCommand
getCommand, getFamily, getFlag1, getFlag2
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PostModCmd

protected PostModCmd(SnacPacket packet)
Generates a post-SSI-modification command from the given incoming SNAC packet.

Parameters:
packet - an incoming post-SSI-modification packet

PostModCmd

public PostModCmd()
Creates a new outgoing post-SSI-modification command.

Method Detail

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()