net.kano.joscar.snaccmd.chat
Class UsersJoinedCmd

java.lang.Object
  extended bySnacCommand
      extended byChatCommand
          extended byUsersCmd
              extended byUsersJoinedCmd

public class UsersJoinedCmd
extends UsersCmd

A SNAC command sent to indicate that one or more users have joined a chat room. Also sent upon joining a room to list the users in that room.

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

Field Summary
 
Fields inherited from class ChatCommand
CMD_RECV_CHAT_MSG, CMD_ROOM_UPDATE, CMD_SEND_CHAT_MSG, CMD_USERS_JOINED, CMD_USERS_LEFT, FAMILY_CHAT, FAMILY_INFO
 
Fields inherited from class SnacCommand
SNACFLAG_DEFAULT
 
Constructor Summary
  UsersJoinedCmd(FullUserInfo[] users)
          Creates a new outgoing uesr join command with the given list of users.
protected UsersJoinedCmd(SnacPacket packet)
          Creates a new user join command from the given incoming SNAC packet.
 
Methods inherited from class UsersCmd
getUsers, toString, writeData
 
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

UsersJoinedCmd

protected UsersJoinedCmd(SnacPacket packet)
Creates a new user join command from the given incoming SNAC packet.

Parameters:
packet - an incoming user join SNAC packet

UsersJoinedCmd

public UsersJoinedCmd(FullUserInfo[] users)
Creates a new outgoing uesr join command with the given list of users.

Parameters:
users - the users who have joined the chat room (or a list of the users in the chat room if this is sent to a joining user)