edu.cuny.cat
Class TraderRegistry

java.lang.Object
  extended by edu.cuny.cat.ClientRegistry
      extended by edu.cuny.cat.TraderRegistry
All Implemented Interfaces:
AuctionEventListener

public class TraderRegistry
extends ClientRegistry

A registry for a trader client.

Version:
$Revision: 1.2 $
Author:
Jinzhong Niu

Field Summary
protected static org.apache.log4j.Logger logger
           
 
Fields inherited from class edu.cuny.cat.ClientRegistry
day, id, shouts, specialists, traders, transactions
 
Constructor Summary
TraderRegistry()
           
 
Method Summary
protected  void processRegistration(RegistrationEvent event)
           
 
Methods inherited from class edu.cuny.cat.ClientRegistry
addSpecialist, addTrader, eventOccurred, getShout, getSpecialist, getSpecialistIds, getSpecialists, getTrader, getTraderIds, getTraders, getTransaction, printStatus, processDayOpening, processGameStarting, processIdAssigned, processShoutPlaced, processShoutPosted, processTransactionExecuted, processTransactionPosted, registerTrader, registerTrader
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

logger

protected static org.apache.log4j.Logger logger
Constructor Detail

TraderRegistry

public TraderRegistry()
Method Detail

processRegistration

protected void processRegistration(RegistrationEvent event)
Overrides:
processRegistration in class ClientRegistry