edu.cuny.cat
Class GameClient.OracleSession

java.lang.Object
  extended by edu.cuny.cat.comm.Session<CatpMessage>
      extended by edu.cuny.cat.comm.CatpReactiveSession
          extended by edu.cuny.cat.GameClient.OracleSession
All Implemented Interfaces:
java.lang.Cloneable
Enclosing class:
GameClient

protected class GameClient.OracleSession
extends CatpReactiveSession

a session deals with all unexpected request.


Field Summary
 
Fields inherited from class edu.cuny.cat.comm.CatpReactiveSession
processed, reqType, typeHeader
 
Fields inherited from class edu.cuny.cat.comm.Session
MAX_ATTEMPT
 
Constructor Summary
GameClient.OracleSession(java.lang.String state)
           
 
Method Summary
 java.lang.String getState()
           
 void processRequest(CatpRequest request)
           
 java.lang.String toString()
           
 
Methods inherited from class edu.cuny.cat.comm.CatpReactiveSession
clone, isProcessed, setProcessed
 
Methods inherited from class edu.cuny.cat.comm.Session
forceOut, sendMessage
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

GameClient.OracleSession

public GameClient.OracleSession(java.lang.String state)
Method Detail

processRequest

public void processRequest(CatpRequest request)
                    throws CatException
Overrides:
processRequest in class CatpReactiveSession
Throws:
CatException

getState

public java.lang.String getState()

toString

public java.lang.String toString()
Overrides:
toString in class Session<CatpMessage>