net.kano.joscar.snaccmd.conn
Class ServerVersionsCmd

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

public class ServerVersionsCmd
extends FamilyVersionsCmd

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

Source of this SNAC:
AIM server
SNAC command type:
Family 0x01, command 0x18

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
  ServerVersionsCmd(SnacFamilyInfo[] families)
          Creates a new outgoing server SNAC family version list command with the given SNAC family information blocks.
protected ServerVersionsCmd(SnacPacket packet)
          Creates a new server SNAC family version list 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

ServerVersionsCmd

protected ServerVersionsCmd(SnacPacket packet)
Creates a new server SNAC family version list command from the given incoming SNAC packet.

Parameters:
packet - an incoming server SNAC family version list packet

ServerVersionsCmd

public ServerVersionsCmd(SnacFamilyInfo[] families)
Creates a new outgoing server SNAC family version list command with the given SNAC family information blocks.

Parameters:
families - the SNAC families and versions supported