Class DisplayServer

java.lang.Object
repast.simphony.ws.DisplayServer
All Implemented Interfaces:
ProjectionListener
Direct Known Subclasses:
DisplayServer2D, DisplayServerGIS

public abstract class DisplayServer extends Object implements ProjectionListener
  • Field Details

    • LOG

      protected static final simphony.util.messages.MessageCenter LOG
    • outgoingAddr

      protected String outgoingAddr
    • displayData

      protected DisplayData<?> displayData
    • descriptor

      protected DisplayDescriptor descriptor
    • outgoing

      protected OutgoingMessageSocket outgoing
    • layout

      protected Layout layout
    • idCounter

      protected int idCounter
    • id

      protected int id
  • Constructor Details

  • Method Details

    • projectionEventOccurred

      public void projectionEventOccurred(ProjectionEvent evt)
      Description copied from interface: ProjectionListener
      Invoked when a projection event occurs.
      Specified by:
      projectionEventOccurred in interface ProjectionListener
      Parameters:
      evt - the object describing the event
    • addObject

      protected abstract void addObject(Object o)
    • removeObject

      protected abstract void removeObject(Object o)
    • moveObject

      protected abstract void moveObject(Object o)
    • init

      public abstract void init()
    • getAgents

      public abstract List<Pair<Integer,Object>> getAgents(List<Integer> ids)
      Gets the agents with the specified viz ids.
      Parameters:
      ids -
      Returns:
      the list of agents with the specified ids.
    • doUpdate

      protected abstract void doUpdate()
    • update

      public void update(boolean force)
    • destroy

      public void destroy()
    • getId

      public int getId()