net.kano.joscar.snaccmd.conn
Class ConnCommand

java.lang.Object
  extended bySnacCommand
      extended byConnCommand
Direct Known Subclasses:
AbstractExtraInfoCmd, ClientReadyCmd, EncryptionInfoAck, FamilyVersionsCmd, MigrationNotice, MyInfoRequest, Noop, PauseCmd, RateAck, RateChange, RateInfoCmd, RateInfoRequest, ResumeCmd, ServiceRedirect, ServiceRequest, SetExtraInfoCmd, SetIdleCmd, SnacFamilyListCmd, UpdateAdvisory, WarningNotification, YourInfoCmd

public abstract class ConnCommand
extends SnacCommand

A base class for commands in the "service" or "basic connection" 0x01 family.


Field Summary
static int CMD_CLIENT_READY
          A command subtype for when the client is ready to "go online."
static int CMD_CLIENT_VERS
          A command subtype for sending the client's SNAC family versions.
static int CMD_ENCINFOACK
          A command subtype acknowledging the setting of one's security information.
static int CMD_EXTRA_ACK
          A command subtype for telling the client what his buddy icon is.
static int CMD_MIGRATE_PLS
          A command subtype for telling a client to "migrate" to another server.
static int CMD_MY_INFO_REQ
          A command subtype for requesting information about oneself.
static int CMD_NOOP
          A command subtype for doing nothing at all.
static int CMD_PAUSE
          A command subtype for telling a client to "pause."
static int CMD_PAUSE_ACK
          A command subtype for acknowledging a "server pause."
static int CMD_RATE_ACK
          A command subtype for acknowledging previously sent rate information.
static int CMD_RATE_CHG
          A command subtype for indicating to a client that rate limiting values changed.
static int CMD_RATE_INFO
          A command subtype for sending the client rate limiting information.
static int CMD_RATE_REQ
          A command subtype for requesting rate limiting information.
static int CMD_RESUME
          A command subtype for telling a client to resume from pausing.
static int CMD_SERV_VERS
          A command subtype for sending the client the server's SNAC family versions.
static int CMD_SERVER_READY
          A command subtype for when the server is ready for the client to begin logging in.
static int CMD_SERVICE_REDIR
          A command subtype for redirecting a client to a new server for a certain SNAC service.
static int CMD_SERVICE_REQ
          A command subtype for requesting a new SNAC service.
static int CMD_SET_IDLE
          A command subtype for setting one's idle time.
static int CMD_SETENCINFO
          A command subtype for setting one's security information.
static int CMD_SETEXTRAINFO
          A command subtype for setting one's "extra info blocks."
static int CMD_UPDATE
          A command subtype for informing the client of a new version of his client software.
static int CMD_WARNED
          A command subtype for informing the client that he was warned.
static int CMD_YOUR_INFO
          A command subtype for sending the client his or her user information.
static int FAMILY_CONN
          The family code of this SNAC family.
static SnacFamilyInfo FAMILY_INFO
          A set of SNAC family information for this family.
 
Fields inherited from class SnacCommand
SNACFLAG_DEFAULT
 
Constructor Summary
protected ConnCommand(int command)
          Creates a new SNAC command 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_CONN

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

See Also:
Constant Field Values

FAMILY_INFO

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


CMD_CLIENT_VERS

public static final int CMD_CLIENT_VERS
A command subtype for sending the client's SNAC family versions.

See Also:
Constant Field Values

CMD_RATE_REQ

public static final int CMD_RATE_REQ
A command subtype for requesting rate limiting information.

See Also:
Constant Field Values

CMD_RATE_ACK

public static final int CMD_RATE_ACK
A command subtype for acknowledging previously sent rate information.

See Also:
Constant Field Values

CMD_MY_INFO_REQ

public static final int CMD_MY_INFO_REQ
A command subtype for requesting information about oneself.

See Also:
Constant Field Values

CMD_CLIENT_READY

public static final int CMD_CLIENT_READY
A command subtype for when the client is ready to "go online."

See Also:
Constant Field Values

CMD_SERVICE_REQ

public static final int CMD_SERVICE_REQ
A command subtype for requesting a new SNAC service.

See Also:
Constant Field Values

CMD_PAUSE_ACK

public static final int CMD_PAUSE_ACK
A command subtype for acknowledging a "server pause."

See Also:
Constant Field Values

CMD_SET_IDLE

public static final int CMD_SET_IDLE
A command subtype for setting one's idle time.

See Also:
Constant Field Values

CMD_SETEXTRAINFO

public static final int CMD_SETEXTRAINFO
A command subtype for setting one's "extra info blocks."

See Also:
Constant Field Values

CMD_SETENCINFO

public static final int CMD_SETENCINFO
A command subtype for setting one's security information.

See Also:
Constant Field Values

CMD_SERVER_READY

public static final int CMD_SERVER_READY
A command subtype for when the server is ready for the client to begin logging in.

See Also:
Constant Field Values

CMD_SERV_VERS

public static final int CMD_SERV_VERS
A command subtype for sending the client the server's SNAC family versions.

See Also:
Constant Field Values

CMD_RATE_INFO

public static final int CMD_RATE_INFO
A command subtype for sending the client rate limiting information.

See Also:
Constant Field Values

CMD_YOUR_INFO

public static final int CMD_YOUR_INFO
A command subtype for sending the client his or her user information.

See Also:
Constant Field Values

CMD_WARNED

public static final int CMD_WARNED
A command subtype for informing the client that he was warned.

See Also:
Constant Field Values

CMD_UPDATE

public static final int CMD_UPDATE
A command subtype for informing the client of a new version of his client software.

See Also:
Constant Field Values

CMD_RATE_CHG

public static final int CMD_RATE_CHG
A command subtype for indicating to a client that rate limiting values changed.

See Also:
Constant Field Values

CMD_NOOP

public static final int CMD_NOOP
A command subtype for doing nothing at all.

See Also:
Constant Field Values

CMD_SERVICE_REDIR

public static final int CMD_SERVICE_REDIR
A command subtype for redirecting a client to a new server for a certain SNAC service.

See Also:
Constant Field Values

CMD_PAUSE

public static final int CMD_PAUSE
A command subtype for telling a client to "pause."

See Also:
Constant Field Values

CMD_RESUME

public static final int CMD_RESUME
A command subtype for telling a client to resume from pausing.

See Also:
Constant Field Values

CMD_MIGRATE_PLS

public static final int CMD_MIGRATE_PLS
A command subtype for telling a client to "migrate" to another server.

See Also:
Constant Field Values

CMD_EXTRA_ACK

public static final int CMD_EXTRA_ACK
A command subtype for telling the client what his buddy icon is.

See Also:
Constant Field Values

CMD_ENCINFOACK

public static final int CMD_ENCINFOACK
A command subtype acknowledging the setting of one's security information.

See Also:
Constant Field Values
Constructor Detail

ConnCommand

protected ConnCommand(int command)
Creates a new SNAC command in this family.

Parameters:
command - the SNAC command subtype