org.jbrain.qlink.state
Class AbstractChatState
java.lang.Object
|
+--org.jbrain.qlink.state.AbstractState
|
+--org.jbrain.qlink.state.AbstractChatState
- All Implemented Interfaces:
- QState
- Direct Known Subclasses:
- Chat, SimpleChat
- public abstract class AbstractChatState
- extends AbstractState
Field Summary |
protected org.jbrain.qlink.state.AbstractChatState.QueuedChatEventListener |
_listener
|
protected Room |
_room
|
protected static java.lang.String |
pad
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
pad
protected static final java.lang.String pad
- See Also:
- Constant Field Values
_room
protected Room _room
_listener
protected org.jbrain.qlink.state.AbstractChatState.QueuedChatEventListener _listener
AbstractChatState
public AbstractChatState(QSession session)
- Parameters:
session
-
execute
public boolean execute(Action a)
throws java.io.IOException
- Specified by:
execute
in interface QState
- Overrides:
execute
in class AbstractState
java.io.IOException
process
protected void process(java.lang.String text)
throws java.io.IOException
- Parameters:
text
-
java.io.IOException
showSeats
protected void showSeats(QSeat[] seats,
boolean bRoomChange)
- Returns:
sendUserList
protected void sendUserList()
leaveRoom
protected void leaveRoom()
addListener
protected QSeat[] addListener()
getProfile
protected ChatProfile getProfile(org.jbrain.qlink.user.AccountInfo info)