net.kano.joscar.snaccmd.conn
Class ClientVersionsCmd

java.lang.Object
  extended bySnacCommand
      extended byConnCommand
          extended byFamilyVersionsCmd
              extended byClientVersionsCmd

public class ClientVersionsCmd
extends FamilyVersionsCmd

A SNAC command sent to inform the server of versions of SNAC families supported by the client.

Source of this SNAC:
AIM client
SNAC command type:
Family 0x01, command 0x17

Field Summary
 
Fields inherited from class ConnCommand
CMD_CLIENT_READY, CMD_CLIENT_VERS, CMD_ENCINFOACK, CMD_EXTRA_ACK, CMD_MIGRATE_PLS, CMD_MY_INFO_REQ, CMD_NOOP, CMD_PAUSE, CMD_PAUSE_ACK, CMD_RATE_ACK, CMD_RATE_CHG, CMD_RATE_INFO, CMD_RATE_REQ, CMD_RESUME, CMD_SERV_VERS, CMD_SERVER_READY, CMD_SERVICE_REDIR, CMD_SERVICE_REQ, CMD_SET_IDLE, CMD_SETENCINFO, CMD_SETEXTRAINFO, CMD_UPDATE, CMD_WARNED, CMD_YOUR_INFO, FAMILY_CONN, FAMILY_INFO
 
Fields inherited from class SnacCommand
SNACFLAG_DEFAULT
 
Constructor Summary
  ClientVersionsCmd(SnacFamilyInfo[] families)
          Creates a new outgoing client version list command with the given SNC family information blocks.
protected ClientVersionsCmd(SnacPacket packet)
          Generates a client version command from the given incoming SNAC packet.
 
Methods inherited from class FamilyVersionsCmd
getSnacFamilyInfos, toString, writeData
 
Methods inherited from class SnacCommand
getCommand, getFamily, getFlag1, getFlag2
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ClientVersionsCmd

protected ClientVersionsCmd(SnacPacket packet)
Generates a client version command from the given incoming SNAC packet.

Parameters:
packet - an incoming client version SNAC packet

ClientVersionsCmd

public ClientVersionsCmd(SnacFamilyInfo[] families)
Creates a new outgoing client version list command with the given SNC family information blocks. Note that only the family and family version fields will be sent.

Parameters:
families - a block of SNAC family information to send in this command