net.kano.joscar.snaccmd.ssi
Class SsiCommand

java.lang.Object
  extended bySnacCommand
      extended bySsiCommand
Direct Known Subclasses:
ActivateSsiCmd, ItemsCmd, PostModCmd, PreModCmd, SsiDataCheck, SsiDataCmd, SsiDataModResponse, SsiDataRequest, SsiRightsCmd, SsiRightsRequest, SsiUnchangedCmd

public abstract class SsiCommand
extends SnacCommand

A base class for commands in the server-stored information 0x13 SNAC family.


Field Summary
static int CMD_ACTIVATE
          A command subtype for "activating" the SSI data.
static int CMD_CREATE_ITEMS
          A command subtype for creating new server-stored "items."
static int CMD_DATA_CHECK
          A command subtype for requesting the user's SSI data if it has changed.
static int CMD_DATA_REQ
          A command subtype for requesting the user's SSI data.
static int CMD_DELETE_ITEMS
          A command subtype for deleting server-stored "items."
static int CMD_MOD_ACK
          A command subtype for acknowledging a change to SSI data.
static int CMD_MODIFY_ITEMS
          A command subtype for modifying existing server-stored "items."
static int CMD_POST_MOD
          A command subtype sometimes sent after changing SSI data.
static int CMD_PRE_MOD
          A command subtype sometimes sent before changing SSI data.
static int CMD_RIGHTS
          A command subtype for sending the client a list of SSI-related "rights."
static int CMD_RIGHTS_REQ
          A command subtype for requesting SSI-related "rights."
static int CMD_SSI_DATA
          A command subtype for sending SSI data to the client.
static int CMD_UNCHANGED
          A command subtype for telling the user that the SSI data have not changed since the last time the client saw them.
static SnacFamilyInfo FAMILY_INFO
          A set of SNAC family information for this family.
static int FAMILY_SSI
          The SNAC family code for the SSI family.
 
Fields inherited from class SnacCommand
SNACFLAG_DEFAULT
 
Constructor Summary
protected SsiCommand(int command)
          Creates a new SNAC command in the SSI family.
 
Methods inherited from class SnacCommand
getCommand, getFamily, getFlag1, getFlag2, writeData
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

FAMILY_SSI

public static final int FAMILY_SSI
The SNAC family code for the SSI family.

See Also:
Constant Field Values

FAMILY_INFO

public static final SnacFamilyInfo FAMILY_INFO
A set of SNAC family information for this family.


CMD_RIGHTS_REQ

public static final int CMD_RIGHTS_REQ
A command subtype for requesting SSI-related "rights."

See Also:
Constant Field Values

CMD_DATA_REQ

public static final int CMD_DATA_REQ
A command subtype for requesting the user's SSI data.

See Also:
Constant Field Values

CMD_DATA_CHECK

public static final int CMD_DATA_CHECK
A command subtype for requesting the user's SSI data if it has changed.

See Also:
Constant Field Values

CMD_ACTIVATE

public static final int CMD_ACTIVATE
A command subtype for "activating" the SSI data.

See Also:
Constant Field Values

CMD_CREATE_ITEMS

public static final int CMD_CREATE_ITEMS
A command subtype for creating new server-stored "items."

See Also:
Constant Field Values

CMD_MODIFY_ITEMS

public static final int CMD_MODIFY_ITEMS
A command subtype for modifying existing server-stored "items."

See Also:
Constant Field Values

CMD_DELETE_ITEMS

public static final int CMD_DELETE_ITEMS
A command subtype for deleting server-stored "items."

See Also:
Constant Field Values

CMD_PRE_MOD

public static final int CMD_PRE_MOD
A command subtype sometimes sent before changing SSI data.

See Also:
Constant Field Values

CMD_POST_MOD

public static final int CMD_POST_MOD
A command subtype sometimes sent after changing SSI data.

See Also:
Constant Field Values

CMD_RIGHTS

public static final int CMD_RIGHTS
A command subtype for sending the client a list of SSI-related "rights."

See Also:
Constant Field Values

CMD_SSI_DATA

public static final int CMD_SSI_DATA
A command subtype for sending SSI data to the client.

See Also:
Constant Field Values

CMD_UNCHANGED

public static final int CMD_UNCHANGED
A command subtype for telling the user that the SSI data have not changed since the last time the client saw them.

See Also:
Constant Field Values

CMD_MOD_ACK

public static final int CMD_MOD_ACK
A command subtype for acknowledging a change to SSI data.

See Also:
Constant Field Values
Constructor Detail

SsiCommand

protected SsiCommand(int command)
Creates a new SNAC command in the SSI family.

Parameters:
command - the SNAC command subtype