net.kano.joscar.snaccmd.icon
Class IconCommand

java.lang.Object
  extended bySnacCommand
      extended byIconCommand
Direct Known Subclasses:
IconDataCmd, IconRequest, UploadIconAck, UploadIconCmd

public abstract class IconCommand
extends SnacCommand

A base class for SNAC commands in the "buddy icon" 0x10 SNAC family.


Field Summary
static int CMD_ICON_DATA
          A command subtype for receiving a buddy icon.
static int CMD_ICON_REQ
          A command subtype for requesting one's icon.
static int CMD_UPLOAD_ACK
          A command subtype for an uploaded icon acknowledgement.
static int CMD_UPLOAD_ICON
          A command subtype for uploading your buddy icon.
static int FAMILY_ICON
          The SNAC family code for the icon family.
static SnacFamilyInfo FAMILY_INFO
          A set of SNAC family information for this family.
 
Fields inherited from class SnacCommand
SNACFLAG_DEFAULT
 
Constructor Summary
protected IconCommand(int command)
          Creates a new SNAC command in the buddy icon 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_ICON

public static final int FAMILY_ICON
The SNAC family code for the icon family.

See Also:
Constant Field Values

FAMILY_INFO

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


CMD_ICON_REQ

public static final int CMD_ICON_REQ
A command subtype for requesting one's icon.

See Also:
Constant Field Values

CMD_ICON_DATA

public static final int CMD_ICON_DATA
A command subtype for receiving a buddy icon.

See Also:
Constant Field Values

CMD_UPLOAD_ICON

public static final int CMD_UPLOAD_ICON
A command subtype for uploading your buddy icon.

See Also:
Constant Field Values

CMD_UPLOAD_ACK

public static final int CMD_UPLOAD_ACK
A command subtype for an uploaded icon acknowledgement.

See Also:
Constant Field Values
Constructor Detail

IconCommand

protected IconCommand(int command)
Creates a new SNAC command in the buddy icon family.

Parameters:
command - the SNAC command subtype