ix.ip2
Class SyncStateServer.ProcessListener

java.lang.Object
  extended by ix.ip2.SyncStateServer.ProcessListener
All Implemented Interfaces:
ProcessStatusListener, StateViewer, java.util.EventListener
Enclosing class:
SyncStateServer

protected class SyncStateServer.ProcessListener
extends java.lang.Object


Constructor Summary
protected SyncStateServer.ProcessListener()
           
 
Method Summary
 java.awt.Component getView(PanelFrame panelFrame)
          Return the GUI component that should be placed in the agent's main user-interface frame.
 void newBindings(ProcessStatusEvent event, java.util.Map bindings)
           
 void reset()
          Sets the viewer back to its initial state (or a reasonable approximation).
 void stateChange(ProcessStatusEvent event, java.util.Map delta)
           
 void stateDeletion(ProcessStatusEvent event, java.util.Map delta)
           
 void statusUpdate(ProcessStatusEvent event)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SyncStateServer.ProcessListener

protected SyncStateServer.ProcessListener()
Method Detail

stateChange

public void stateChange(ProcessStatusEvent event,
                        java.util.Map delta)
Specified by:
stateChange in interface ProcessStatusListener

stateDeletion

public void stateDeletion(ProcessStatusEvent event,
                          java.util.Map delta)
Specified by:
stateDeletion in interface ProcessStatusListener

getView

public java.awt.Component getView(PanelFrame panelFrame)
Description copied from interface: StateViewer
Return the GUI component that should be placed in the agent's main user-interface frame. The frame is passed as a parameter in case different objects must be returned for different frame classes.

Specified by:
getView in interface StateViewer

reset

public void reset()
Description copied from interface: StateViewer
Sets the viewer back to its initial state (or a reasonable approximation).

Specified by:
reset in interface StateViewer

statusUpdate

public void statusUpdate(ProcessStatusEvent event)
Specified by:
statusUpdate in interface ProcessStatusListener

newBindings

public void newBindings(ProcessStatusEvent event,
                        java.util.Map bindings)
Specified by:
newBindings in interface ProcessStatusListener