net.kano.joscar.snaccmd.rooms
Class RoomCommand

java.lang.Object
  extended bySnacCommand
      extended byRoomCommand
Direct Known Subclasses:
ExchangeInfoReq, JoinRoomCmd, RoomInfoReq, RoomResponse, RoomRightsRequest

public abstract class RoomCommand
extends SnacCommand

A base class for commands in the "chat room navigation" 0x0d SNAC family.


Field Summary
static int CMD_EXCH_INFO_REQ
          A command subtype for requesting information about a specific chat "exchange."
static int CMD_JOIN_ROOM
          A command subtype for joining a chat room.
static int CMD_MORE_ROOM_INFO
          A command subtype for requesting more information about a chat room.
static int CMD_RIGHTS_REQ
          A command subtype for requesting chat room "rights."
static int CMD_ROOM_RESPONSE
          A command subtype for a generic chat information response.
static SnacFamilyInfo FAMILY_INFO
          A set of SNAC family information for this family.
static int FAMILY_ROOM
          The SNAC family code for this family.
 
Fields inherited from class SnacCommand
SNACFLAG_DEFAULT
 
Constructor Summary
protected RoomCommand(int command)
          Creates a new SNAC command in the chat room navigation 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_ROOM

public static final int FAMILY_ROOM
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_RIGHTS_REQ

public static final int CMD_RIGHTS_REQ
A command subtype for requesting chat room "rights."

See Also:
Constant Field Values

CMD_JOIN_ROOM

public static final int CMD_JOIN_ROOM
A command subtype for joining a chat room.

See Also:
Constant Field Values

CMD_EXCH_INFO_REQ

public static final int CMD_EXCH_INFO_REQ
A command subtype for requesting information about a specific chat "exchange."

See Also:
Constant Field Values

CMD_ROOM_RESPONSE

public static final int CMD_ROOM_RESPONSE
A command subtype for a generic chat information response.

See Also:
Constant Field Values

CMD_MORE_ROOM_INFO

public static final int CMD_MORE_ROOM_INFO
A command subtype for requesting more information about a chat room.

See Also:
Constant Field Values
Constructor Detail

RoomCommand

protected RoomCommand(int command)
Creates a new SNAC command in the chat room navigation family.

Parameters:
command - the SNAC command subtype of this command