net.kano.joscar.snaccmd.invite
Class InviteFriendAck

java.lang.Object
  extended bySnacCommand
      extended byInviteCommand
          extended byInviteFriendAck

public class InviteFriendAck
extends InviteCommand

A SNAC command sent to acknowledge that an invitation email has been sent. Sent in response to an InviteFriendCmd.

Source of this SNAC:
AIM server
SNAC command type:
Family 0x06, command 0x03

Field Summary
 
Fields inherited from class InviteCommand
CMD_INVITE_ACK, CMD_INVITE_FRIEND, FAMILY_INFO, FAMILY_INVITE
 
Fields inherited from class SnacCommand
SNACFLAG_DEFAULT
 
Constructor Summary
  InviteFriendAck()
          Creates a new outgoing invitation acknowledgement command.
protected InviteFriendAck(SnacPacket packet)
          Generates a new invitation acknowledgement 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

InviteFriendAck

protected InviteFriendAck(SnacPacket packet)
Generates a new invitation acknowledgement command from the given incoming SNAC packet.

Parameters:
packet - the incoming invitation acknowledgement packet

InviteFriendAck

public InviteFriendAck()
Creates a new outgoing invitation acknowledgement 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()