org.walluck.oscar.requests
Class JoinRoomRequest

java.lang.Object
  extended by org.walluck.oscar.requests.JoinRoomRequest

public class JoinRoomRequest
extends Object

Class JoinRoomRequest An instance of this class is created when someone invites us to join a chat room. It contains information needed to represent to the user what room he's asked to join. If the user decided to join, this instance should be passed to ChatTool.joinRoom().

Since:
1.0
Version:
1.0
Author:
Alain Penders

Constructor Summary
JoinRoomRequest()
           
 
Method Summary
 int getExchange()
          Exchange number for the chat.
 int getInstance()
          Instance number of the chat room.
 String getMessage()
          Invite message provided by the user who requested us to join.
 String getName()
          Name of the chat room.
 String getSender()
          ScreenName of the person inviting us.
 void setExchange(int exchange)
           
 void setInstance(int instance)
           
 void setMessage(String message)
           
 void setName(String name)
           
 void setSender(String sender)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JoinRoomRequest

public JoinRoomRequest()
Method Detail

getExchange

public int getExchange()
Exchange number for the chat.

Returns:
integer

setExchange

public void setExchange(int exchange)

getName

public String getName()
Name of the chat room.

Returns:
String

setName

public void setName(String name)

getInstance

public int getInstance()
Instance number of the chat room.

Returns:
integer

setInstance

public void setInstance(int instance)

getMessage

public String getMessage()
Invite message provided by the user who requested us to join.

Returns:
Message

setMessage

public void setMessage(String message)

getSender

public String getSender()
ScreenName of the person inviting us.

Returns:
String

setSender

public void setSender(String sender)