net.kano.joscar.snaccmd.ssi
Class SsiRightsRequest

java.lang.Object
  extended bySnacCommand
      extended bySsiCommand
          extended bySsiRightsRequest

public class SsiRightsRequest
extends SsiCommand

A SNAC command sent to request a list of "rights" associated with server-stored information. Generally responded-to with a SsiRightsCmd.

See Also:
SsiRightsCmd
Source of this SNAC:
AIM client
SNAC command type:
Family 0x13, command 0x02

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
  SsiRightsRequest()
          Creates a new outgoing SSI rights request.
protected SsiRightsRequest(SnacPacket packet)
          Generates a new SSI rights 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

SsiRightsRequest

protected SsiRightsRequest(SnacPacket packet)
Generates a new SSI rights request command from the given incoming SNAC packet.

Parameters:
packet - an incoming SSI rights request packet

SsiRightsRequest

public SsiRightsRequest()
Creates a new outgoing SSI rights 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()