net.kano.joscar.snaccmd.invite
Class InviteCommand

java.lang.Object
  extended bySnacCommand
      extended byInviteCommand
Direct Known Subclasses:
InviteFriendAck, InviteFriendCmd

public abstract class InviteCommand
extends SnacCommand

A base class for all SNAC commands in the "invite-a-friend" 0x06 SNAC family.


Field Summary
static int CMD_INVITE_ACK
          A command subtype for an acknowledgement of an invitation.
static int CMD_INVITE_FRIEND
          A command subtype for inviting a friend to join AIM.
static SnacFamilyInfo FAMILY_INFO
          A set of SNAC family information for this family.
static int FAMILY_INVITE
          The invite-a-friend SNAC family code.
 
Fields inherited from class SnacCommand
SNACFLAG_DEFAULT
 
Constructor Summary
protected InviteCommand(int command)
          Creates a new SNAC command in the invite-a-friend 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_INVITE

public static final int FAMILY_INVITE
The invite-a-friend SNAC family code.

See Also:
Constant Field Values

FAMILY_INFO

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


CMD_INVITE_FRIEND

public static final int CMD_INVITE_FRIEND
A command subtype for inviting a friend to join AIM.

See Also:
Constant Field Values

CMD_INVITE_ACK

public static final int CMD_INVITE_ACK
A command subtype for an acknowledgement of an invitation.

See Also:
Constant Field Values
Constructor Detail

InviteCommand

protected InviteCommand(int command)
Creates a new SNAC command in the invite-a-friend family.

Parameters:
command - the SNAC command subtype