edu.cuny.cat.server
Class SilentConsole

java.lang.Object
  extended by edu.cuny.cat.server.SilentConsole
All Implemented Interfaces:
AuctionEventListener, Console

public class SilentConsole
extends java.lang.Object
implements Console

A silent console that providing no interaction feature at all. This is useful for experiments that runs without human intervention.

Version:
$Revision: 1.2 $
Author:
Jinzhong Niu
See Also:
SynchronousClockController

Constructor Summary
SilentConsole()
           
 
Method Summary
 void eventOccurred(AuctionEvent e)
           
 boolean isInteractive()
           
 void start()
          starts the console.
 void stop()
          stop the console.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SilentConsole

public SilentConsole()
Method Detail

start

public void start()
Description copied from interface: Console
starts the console.

Specified by:
start in interface Console

stop

public void stop()
Description copied from interface: Console
stop the console.

Specified by:
stop in interface Console

isInteractive

public boolean isInteractive()
Specified by:
isInteractive in interface Console
Returns:
true if this console involves human interaction, and false otherwise.

eventOccurred

public void eventOccurred(AuctionEvent e)
Specified by:
eventOccurred in interface AuctionEventListener

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object