org.oddjob.state
Class StateExchange

java.lang.Object
  extended by org.oddjob.state.StateExchange

public class StateExchange
extends Object

Pass on state. Generally used to reflect the state of children.

Author:
rob

Constructor Summary
StateExchange(Stateful source, StateChanger<ParentState> recipient)
           
 
Method Summary
 boolean isRunning()
           
 void start()
           
 void stop()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StateExchange

public StateExchange(Stateful source,
                     StateChanger<ParentState> recipient)
Method Detail

start

public void start()
           throws JobDestroyedException
Throws:
JobDestroyedException

stop

public void stop()

isRunning

public boolean isRunning()