org.echarts
Class OutputPort

java.lang.Object
  extended by org.echarts.Port
      extended by org.echarts.LocalPort
          extended by org.echarts.OutputPort
All Implemented Interfaces:
java.io.Serializable, java.rmi.Remote, PortReference
Direct Known Subclasses:
ExternalPort, InternalPort

public abstract class OutputPort
extends LocalPort

Abstract superclass for InternalPort and ExternalPort which share the property that messages can be output (via the ECharts '!' operator) on. In the case of InternalPorts, output are simply enqueued on the port's queue. In the case of ExternalPorts, output messages are enqueued on a peer port's queue (assuming the ExternalPort has been peered with another port).

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.echarts.LocalPort
inputQueue
 
Fields inherited from interface org.echarts.PortReference
serialVersionUID
 
Constructor Summary
OutputPort()
           
 
Method Summary
abstract  void output(java.lang.Object message, Machine machine)
          Output specified object from specified machine.
 
Methods inherited from class org.echarts.LocalPort
clearMachineReference, getDynamicChildIndex, getDynamicParent, getInputQueue, getMonitorProperties, isPossiblyReferencedBy, isPossiblyReferencedBySupermachineOf, isUniquelyReferenced, isUniquelyReferencedByMachine, setMachineReference
 
Methods inherited from class org.echarts.Port
equals, getID
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OutputPort

public OutputPort()
Method Detail

output

public abstract void output(java.lang.Object message,
                            Machine machine)
                     throws java.lang.Exception
Output specified object from specified machine.

Throws:
java.lang.Exception