net.kano.joscar.snaccmd.conn
Class ExtraInfoAck

java.lang.Object
  extended bySnacCommand
      extended byConnCommand
          extended byAbstractExtraInfoCmd
              extended byExtraInfoAck

public class ExtraInfoAck
extends AbstractExtraInfoCmd

A SNAC command sent to tell the client what his or her current "extra information" is (such as a buddy icon and iChat availability message).

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

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
  ExtraInfoAck(ExtraInfoBlock[] blocks)
          Creates a new outgoing extra info acknowledgement command with the given list of extra information blocks.
protected ExtraInfoAck(SnacPacket packet)
          Generates a new extra info acknowledgement command from the given incoming SNAC packet.
 
Methods inherited from class AbstractExtraInfoCmd
getExtraInfos, 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

ExtraInfoAck

protected ExtraInfoAck(SnacPacket packet)
Generates a new extra info acknowledgement command from the given incoming SNAC packet.

Parameters:
packet - the incoming icon acknowledgement packet

ExtraInfoAck

public ExtraInfoAck(ExtraInfoBlock[] blocks)
Creates a new outgoing extra info acknowledgement command with the given list of extra information blocks. Note that neither blocks nor any of its elements can be null.

Parameters:
blocks - the extra information blocks to send in this command