net.kano.joscar.snaccmd.search
Class InterestListReq

java.lang.Object
  extended bySnacCommand
      extended bySearchCommand
          extended byInterestListReq

public class InterestListReq
extends SearchCommand

A SNAC command used to request a list of valid chat interests. Normally responded-to with a InterestListCmd.

See Also:
InterestListCmd
Source of this SNAC:
AIM client
SNAC command type:
Family 0x0f, command 0x04

Field Summary
 
Fields inherited from class SearchCommand
CMD_INTERESTS, CMD_INTERESTS_REQ, CMD_RESULTS, CMD_SEARCH, FAMILY_INFO, FAMILY_SEARCH
 
Fields inherited from class SnacCommand
SNACFLAG_DEFAULT
 
Constructor Summary
  InterestListReq()
          Creates a new outgoing interest list request.
protected InterestListReq(SnacPacket packet)
          Generates a new interest list request command from the given incoming SNAC command.
 
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

InterestListReq

protected InterestListReq(SnacPacket packet)
Generates a new interest list request command from the given incoming SNAC command.

Parameters:
packet - an incoming interest list request packet

InterestListReq

public InterestListReq()
Creates a new outgoing interest list request.

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()