net.kano.joscar.snaccmd.acct
Class AcctCommand

java.lang.Object
  extended bySnacCommand
      extended byAcctCommand
Direct Known Subclasses:
AcctInfoRequest, AcctModCmd, AcctResponse, ConfirmAcctCmd, ConfirmAck

public abstract class AcctCommand
extends SnacCommand

A base class for all SNAC commands in the 0x07 "account administration" family.


Field Summary
static int CMD_ACCT_MOD
          The command subtype for modifying an aspect of one's account.
static int CMD_CONFIRM
          The command subtype for requesting a confirmation email for your account.
static int CMD_CONFIRM_ACK
          The command subtype for a reply sent by the server after requesting a confirmation email.
static int CMD_INFO_REQ
          The command subtype for requesting information about one's account.
static int CMD_INFO_RESP
          The command subtype for the server's response to a request for account information.
static int CMD_MOD_ACK
          The command subtype for a reply sent by the server after modifying one's account.
static int FAMILY_ACCT
          This family's SNAC family code.
static SnacFamilyInfo FAMILY_INFO
          A set of SNAC family info for this family.
 
Fields inherited from class SnacCommand
SNACFLAG_DEFAULT
 
Constructor Summary
protected AcctCommand(int command)
          Creates a new SnacCommand in this 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_ACCT

public static final int FAMILY_ACCT
This family's SNAC family code.

See Also:
Constant Field Values

FAMILY_INFO

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


CMD_ACCT_MOD

public static final int CMD_ACCT_MOD
The command subtype for modifying an aspect of one's account.

See Also:
Constant Field Values

CMD_CONFIRM

public static final int CMD_CONFIRM
The command subtype for requesting a confirmation email for your account.

See Also:
Constant Field Values

CMD_INFO_REQ

public static final int CMD_INFO_REQ
The command subtype for requesting information about one's account.

See Also:
Constant Field Values

CMD_MOD_ACK

public static final int CMD_MOD_ACK
The command subtype for a reply sent by the server after modifying one's account.

See Also:
Constant Field Values

CMD_CONFIRM_ACK

public static final int CMD_CONFIRM_ACK
The command subtype for a reply sent by the server after requesting a confirmation email.

See Also:
Constant Field Values

CMD_INFO_RESP

public static final int CMD_INFO_RESP
The command subtype for the server's response to a request for account information.

See Also:
Constant Field Values
Constructor Detail

AcctCommand

protected AcctCommand(int command)
Creates a new SnacCommand in this family.

Parameters:
command - the SNAC command subtype of this command