net.kano.joscar.snaccmd.acct
Class ConfirmAcctCmd

java.lang.Object
  extended bySnacCommand
      extended byAcctCommand
          extended byConfirmAcctCmd

public class ConfirmAcctCmd
extends AcctCommand

A SNAC command used to request that a confirmation request email be sent to the email address under which this screen name is registered. When a reply to that email is received by the AIM server, the screen name is "confirmed" to come from that email address. Confirmation is only necessary (and allowed) once per screen name.

See Also:
ConfirmAck
Source of this SNAC:
AIM client
SNAC command type:
Family 0x07, command 0x06

Field Summary
 
Fields inherited from class AcctCommand
CMD_ACCT_MOD, CMD_CONFIRM, CMD_CONFIRM_ACK, CMD_INFO_REQ, CMD_INFO_RESP, CMD_MOD_ACK, FAMILY_ACCT, FAMILY_INFO
 
Fields inherited from class SnacCommand
SNACFLAG_DEFAULT
 
Constructor Summary
  ConfirmAcctCmd()
          Creates a new outgoing account confirmation request command.
protected ConfirmAcctCmd(SnacPacket packet)
          Creates a new account confirmation request command from the given incoming SNAC packet.
 
Method Summary
 java.lang.String toString()
           
 void writeData(java.io.OutputStream out)
          Writes this command's SNAC data block to the given stream.
 
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

ConfirmAcctCmd

protected ConfirmAcctCmd(SnacPacket packet)
Creates a new account confirmation request command from the given incoming SNAC packet.

Parameters:
packet - an account confirmation request packet

ConfirmAcctCmd

public ConfirmAcctCmd()
Creates a new outgoing account confirmation request command.

Method Detail

writeData

public void writeData(java.io.OutputStream out)
               throws java.io.IOException
Description copied from class: SnacCommand
Writes this command's SNAC data block to the given stream. The SNAC data block is the data after the first ten bytes of a SNAC packet.

Specified by:
writeData in class SnacCommand
Parameters:
out - the stream to which to write the SNAC data
Throws:
java.io.IOException - if an I/O error occurs

toString

public java.lang.String toString()