net.kano.joscar.snaccmd.ssi
Class DeleteItemsCmd

java.lang.Object
  extended bySnacCommand
      extended bySsiCommand
          extended byItemsCmd
              extended byDeleteItemsCmd

public class DeleteItemsCmd
extends ItemsCmd

A SNAC command used to delete specific server-stored "items." Normally responded-to with a SsiDataModResponse.

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

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
protected DeleteItemsCmd(SnacPacket packet)
          Generates a new item deletion command from the given incoming SNAC packet.
  DeleteItemsCmd(SsiItem[] items)
          Creates a new outgoing item deletion command with the given list of items to delete.
 
Methods inherited from class ItemsCmd
getItems, toString, writeData
 
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

DeleteItemsCmd

protected DeleteItemsCmd(SnacPacket packet)
Generates a new item deletion command from the given incoming SNAC packet.

Parameters:
packet - an incoming SSI item deletion packet

DeleteItemsCmd

public DeleteItemsCmd(SsiItem[] items)
Creates a new outgoing item deletion command with the given list of items to delete. Note that normally only the group ID, buddy ID, and item type need to be set in each item, though this is certainly not required.

Parameters:
items - the items to delete from the server