org.jbrain.qlink.state
Class Chat

java.lang.Object
  |
  +--org.jbrain.qlink.state.AbstractState
        |
        +--org.jbrain.qlink.state.AbstractChatState
              |
              +--org.jbrain.qlink.state.Chat
All Implemented Interfaces:
QState
Direct Known Subclasses:
SuperChat

public class Chat
extends AbstractChatState


Field Summary
 
Fields inherited from class org.jbrain.qlink.state.AbstractChatState
_listener, _room, pad
 
Fields inherited from class org.jbrain.qlink.state.AbstractState
_session
 
Constructor Summary
Chat(QSession session)
           
 
Method Summary
 void activate()
           
protected  void enterRoom(java.lang.String name, boolean b)
           
 boolean execute(Action a)
           
protected  void sendRoomInfo(QSeat[] seats)
           
 void terminate()
           
 
Methods inherited from class org.jbrain.qlink.state.AbstractChatState
addListener, getProfile, leaveRoom, process, sendUserList, showSeats
 
Methods inherited from class org.jbrain.qlink.state.AbstractState
checkEmail, getName, passivate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Chat

public Chat(QSession session)
Method Detail

activate

public void activate()
              throws java.io.IOException
Specified by:
activate in interface QState
Overrides:
activate in class AbstractState
java.io.IOException

execute

public boolean execute(Action a)
                throws java.io.IOException
Specified by:
execute in interface QState
Overrides:
execute in class AbstractChatState
java.io.IOException

terminate

public void terminate()
Specified by:
terminate in interface QState
Overrides:
terminate in class AbstractState

sendRoomInfo

protected void sendRoomInfo(QSeat[] seats)

enterRoom

protected void enterRoom(java.lang.String name,
                         boolean b)
Parameters:
b -