net.kano.joscar.snaccmd.buddy
Class BuddyCommand

java.lang.Object
  extended bySnacCommand
      extended byBuddyCommand
Direct Known Subclasses:
BuddyOfflineCmd, BuddyStatusCmd

public abstract class BuddyCommand
extends SnacCommand

A base class for commands in the "buddy status" 0x03 SNAC family.


Field Summary
static int CMD_BUDDY_OFFLINE
          The command subtype for a buddy offline notification.
static int CMD_BUDDY_STATUS
          The command subtype for a "buddy update."
static int FAMILY_BUDDY
          The SNAC family code of this family.
static SnacFamilyInfo FAMILY_INFO
          A SNAC family info block for this family.
 
Fields inherited from class SnacCommand
SNACFLAG_DEFAULT
 
Constructor Summary
protected BuddyCommand(int command)
          Creates a command object in the buddy status family with the given command subtype.
 
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_BUDDY

public static final int FAMILY_BUDDY
The SNAC family code of this family.

See Also:
Constant Field Values

FAMILY_INFO

public static final SnacFamilyInfo FAMILY_INFO
A SNAC family info block for this family.


CMD_BUDDY_STATUS

public static final int CMD_BUDDY_STATUS
The command subtype for a "buddy update."

See Also:
Constant Field Values

CMD_BUDDY_OFFLINE

public static final int CMD_BUDDY_OFFLINE
The command subtype for a buddy offline notification.

See Also:
Constant Field Values
Constructor Detail

BuddyCommand

protected BuddyCommand(int command)
Creates a command object in the buddy status family with the given command subtype.

Parameters:
command - this command's SNAC command subtype