net.kano.joscar.snaccmd.search
Class SearchCommand

java.lang.Object
  extended bySnacCommand
      extended bySearchCommand
Direct Known Subclasses:
InterestListCmd, InterestListReq, SearchBuddiesCmd, SearchResultsCmd

public abstract class SearchCommand
extends SnacCommand

A base class for the commands in the "search" 0x0f SNAC family.


Field Summary
static int CMD_INTERESTS
          A command subtype for a list of valid chat interests.
static int CMD_INTERESTS_REQ
          A command subtype for requesting a list of valid chat interests.
static int CMD_RESULTS
          A command subtype for a list of search results.
static int CMD_SEARCH
          A command subtype for searching for buddies.
static SnacFamilyInfo FAMILY_INFO
          A set of SNAC family information for this family.
static int FAMILY_SEARCH
          The SNAC family code for this family.
 
Fields inherited from class SnacCommand
SNACFLAG_DEFAULT
 
Constructor Summary
protected SearchCommand(int command)
          Creates a new SNAC command in this family.
 
Methods inherited from class SnacCommand
getCommand, getFamily, getFlag1, getFlag2, writeData
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

FAMILY_SEARCH

public static final int FAMILY_SEARCH
The SNAC family code for this family.

See Also:
Constant Field Values

FAMILY_INFO

public static final SnacFamilyInfo FAMILY_INFO
A set of SNAC family information for this family.


CMD_INTERESTS_REQ

public static final int CMD_INTERESTS_REQ
A command subtype for requesting a list of valid chat interests.

See Also:
Constant Field Values

CMD_INTERESTS

public static final int CMD_INTERESTS
A command subtype for a list of valid chat interests.

See Also:
Constant Field Values

CMD_SEARCH

public static final int CMD_SEARCH
A command subtype for searching for buddies.

See Also:
Constant Field Values

CMD_RESULTS

public static final int CMD_RESULTS
A command subtype for a list of search results.

See Also:
Constant Field Values
Constructor Detail

SearchCommand

protected SearchCommand(int command)
Creates a new SNAC command in this family.

Parameters:
command - the SNAC command subtype