net.kano.joscar.snaccmd.auth
Class AuthCommand

java.lang.Object
  extended bySnacCommand
      extended byAuthCommand
Direct Known Subclasses:
AuthRequest, AuthResponse, KeyRequest, KeyResponse

public abstract class AuthCommand
extends SnacCommand

A base class for SNAC commands in the "auth" 0x17 SNAC family.


Field Summary
static int CMD_AUTH_REQ
          The command subtype for requesting authorization (login).
static int CMD_AUTH_RESP
          The command subtype for an authorization attempt response.
static int CMD_KEY_REQ
          The command subtype for requesting an authorization key.
static int CMD_KEY_RESP
          The command subtype for a response to a key request.
static int FAMILY_AUTH
          This family's SNAC family code.
static SnacFamilyInfo FAMILY_INFO
          A SNAC family information object for this family.
 
Fields inherited from class SnacCommand
SNACFLAG_DEFAULT
 
Constructor Summary
protected AuthCommand(int command)
          Creates a new SNAC command in this 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_AUTH

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

See Also:
Constant Field Values

CMD_KEY_REQ

public static final int CMD_KEY_REQ
The command subtype for requesting an authorization key.

See Also:
Constant Field Values

CMD_AUTH_REQ

public static final int CMD_AUTH_REQ
The command subtype for requesting authorization (login).

See Also:
Constant Field Values

CMD_KEY_RESP

public static final int CMD_KEY_RESP
The command subtype for a response to a key request.

See Also:
Constant Field Values

CMD_AUTH_RESP

public static final int CMD_AUTH_RESP
The command subtype for an authorization attempt response.

See Also:
Constant Field Values

FAMILY_INFO

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

Constructor Detail

AuthCommand

protected AuthCommand(int command)
Creates a new SNAC command in this family with the given command subtype.

Parameters:
command - the command subtype of this command