net.kano.joscar.snaccmd.ssi
Class SsiDataRequest

java.lang.Object
  extended bySnacCommand
      extended bySsiCommand
          extended bySsiDataRequest

public class SsiDataRequest
extends SsiCommand

A SNAC command used to request the user's server-stored information. This command is not usually necessary if the client stores the SSI data to disk between sessions; see SsiDataCheck for details. This command is normally responded-to with a SsiDataCmd.

Source of this SNAC:
AIM client
SNAC command type:
Family 0x13, command 0x04

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
  SsiDataRequest()
          Creates a new outgoing SNAC data request.
protected SsiDataRequest(SnacPacket packet)
          Generates an SSI data request 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

SsiDataRequest

protected SsiDataRequest(SnacPacket packet)
Generates an SSI data request command from the given incoming SNAC packet.

Parameters:
packet - an incoming SSI data request packet

SsiDataRequest

public SsiDataRequest()
Creates a new outgoing SNAC data request.

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