net.kano.joscar.snaccmd.loc
Class LocCommand

java.lang.Object
  extended bySnacCommand
      extended byLocCommand
Direct Known Subclasses:
DirInfoCmd, GetDirInfoCmd, GetInfoCmd, LocRightsCmd, LocRightsRequest, OldGetInfoCmd, SetDirAck, SetDirInfoCmd, SetInfoCmd, SetInterestsAck, SetInterestsCmd, UserInfoCmd

public abstract class LocCommand
extends SnacCommand

A base class for the commands in the "location" 0x02 SNAC family.


Field Summary
static int CMD_DIR_INFO
          A command subtype containing a user's directory information.
static int CMD_GET_DIR
          A command subtype for requesting another user's directory information.
static int CMD_INTEREST_ACK
          A command subtype for acknowledging that one's chat interests were set.
static int CMD_NEW_GET_INFO
          A command subtype used to request information about a user.
static int CMD_OLD_GET_INFO
          A command subtype formerly used for getting another user's "info."
static int CMD_RIGHTS_REQ
          A command subtype for requesting location-related rights.
static int CMD_RIGHTS_RESP
          A command subtype containing location-related "rights."
static int CMD_SET_DIR
          A command subtype for setting your directory information.
static int CMD_SET_DIR_ACK
          A command subtype for acknowledging the setting of one's directory information.
static int CMD_SET_INFO
          A command subtype for setting one's "info."
static int CMD_SET_INTERESTS
          A command subtype for setting one's chat interests.
static int CMD_USER_INFO
          A command subtype containing a user's "info."
static SnacFamilyInfo FAMILY_INFO
          A set of SNAC family information for this family.
static int FAMILY_LOC
          The SNAC family code for the location family.
 
Fields inherited from class SnacCommand
SNACFLAG_DEFAULT
 
Constructor Summary
protected LocCommand(int command)
          Creates a new command in the location 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_LOC

public static final int FAMILY_LOC
The SNAC family code for the location family.

See Also:
Constant Field Values

FAMILY_INFO

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


CMD_RIGHTS_REQ

public static final int CMD_RIGHTS_REQ
A command subtype for requesting location-related rights.

See Also:
Constant Field Values

CMD_RIGHTS_RESP

public static final int CMD_RIGHTS_RESP
A command subtype containing location-related "rights."

See Also:
Constant Field Values

CMD_SET_INFO

public static final int CMD_SET_INFO
A command subtype for setting one's "info."

See Also:
Constant Field Values

CMD_OLD_GET_INFO

public static final int CMD_OLD_GET_INFO
A command subtype formerly used for getting another user's "info."

See Also:
Constant Field Values

CMD_USER_INFO

public static final int CMD_USER_INFO
A command subtype containing a user's "info."

See Also:
Constant Field Values

CMD_GET_DIR

public static final int CMD_GET_DIR
A command subtype for requesting another user's directory information.

See Also:
Constant Field Values

CMD_DIR_INFO

public static final int CMD_DIR_INFO
A command subtype containing a user's directory information.

See Also:
Constant Field Values

CMD_SET_INTERESTS

public static final int CMD_SET_INTERESTS
A command subtype for setting one's chat interests.

See Also:
Constant Field Values

CMD_INTEREST_ACK

public static final int CMD_INTEREST_ACK
A command subtype for acknowledging that one's chat interests were set.

See Also:
Constant Field Values

CMD_SET_DIR

public static final int CMD_SET_DIR
A command subtype for setting your directory information.

See Also:
Constant Field Values

CMD_SET_DIR_ACK

public static final int CMD_SET_DIR_ACK
A command subtype for acknowledging the setting of one's directory information.

See Also:
Constant Field Values

CMD_NEW_GET_INFO

public static final int CMD_NEW_GET_INFO
A command subtype used to request information about a user.

See Also:
Constant Field Values
Constructor Detail

LocCommand

protected LocCommand(int command)
Creates a new command in the location family.

Parameters:
command - the SNAC command subtype