se.sics.tasim.viewer
Class ViewerConnection

java.lang.Object
  extended by se.sics.tasim.is.EventWriter
      extended by se.sics.tasim.viewer.ViewerConnection
Direct Known Subclasses:
BuiltinGUIWriter, SimulationViewer, ViewerPanel

public abstract class ViewerConnection
extends EventWriter


Constructor Summary
ViewerConnection()
           
 
Method Summary
abstract  void intCache(int agent, int type, int[] cache)
           
abstract  void nextSimulation(int publicSimID, long startTime)
          Notifies about the next scheduled simulation if such exists.
abstract  void setServerTime(long serverTime)
           
abstract  void simulationStarted(int realSimID, java.lang.String type, long startTime, long endTime, java.lang.String timeUnitName, int timeUnitCount)
           
abstract  void simulationStopped(int realSimID)
           
 
Methods inherited from class se.sics.tasim.is.EventWriter
dataUpdated, dataUpdated, dataUpdated, dataUpdated, dataUpdated, dataUpdated, dataUpdated, interaction, interactionWithRole, nextTimeUnit, participant
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ViewerConnection

public ViewerConnection()
Method Detail

setServerTime

public abstract void setServerTime(long serverTime)

simulationStarted

public abstract void simulationStarted(int realSimID,
                                       java.lang.String type,
                                       long startTime,
                                       long endTime,
                                       java.lang.String timeUnitName,
                                       int timeUnitCount)

simulationStopped

public abstract void simulationStopped(int realSimID)

nextSimulation

public abstract void nextSimulation(int publicSimID,
                                    long startTime)
Notifies about the next scheduled simulation if such exists.

Parameters:
publicSimID - the public simulation id or -1 if no such id has been assigned
startTime - the start time of the next simulation or 0 if no future simulation has been scheduled

intCache

public abstract void intCache(int agent,
                              int type,
                              int[] cache)
Specified by:
intCache in class EventWriter


Copyright © 2007-2009 Association for Trading Agent Research. All Rights Reserved.