edu.cuny.cat
Class TraderClient.TransactionSession

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

protected class TraderClient.TransactionSession
extends CatpReactiveSession


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
TraderClient.TransactionSession()
           
 
Method Summary
protected  Shout createMatchedShout(java.lang.String shoutId, int quantity, double price, boolean isBid, Specialist specialist)
           
 void processRequest(CatpRequest request)
           
 
Methods inherited from class edu.cuny.cat.comm.CatpReactiveSession
clone, isProcessed, setProcessed
 
Methods inherited from class edu.cuny.cat.comm.Session
forceOut, sendMessage, toString
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TraderClient.TransactionSession

public TraderClient.TransactionSession()
Method Detail

processRequest

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

createMatchedShout

protected Shout createMatchedShout(java.lang.String shoutId,
                                   int quantity,
                                   double price,
                                   boolean isBid,
                                   Specialist specialist)