jsim.process
Class Split

java.lang.Object
  extended by jsim.process.DynamicNode
      extended by jsim.process.Split

public class Split
extends DynamicNode

The Split class is not functional yet.


Field Summary
 
Fields inherited from class jsim.process.DynamicNode
costs, duration, occupancy, outgoing, props, trc
 
Constructor Summary
Split(double x1, double y1, double x2, double y2, java.lang.String entityTName, Transport[] outgoing)
          Construct a Split.
Split(int id, Prop props, java.lang.String entityTName, Transport[] outgoing, AnimationQueue queue)
          Construct a Split.
 
Method Summary
 void cloneEntity(SimObject entity)
          Create and start a new entity (SimObject).
 void use(SimObject entity)
          This method is called by SimObjects when they are done with their business and wish to leave the application scenario.
 
Methods inherited from class jsim.process.DynamicNode
getNodeStats, getOutgoing, getProps, setBatchProperties, setPrimary, setProps
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Split

public Split(double x1,
             double y1,
             double x2,
             double y2,
             java.lang.String entityTName,
             Transport[] outgoing)
Construct a Split. This constructor has sufficient information to draw the node.

Parameters:
outgoing - outgoing transports

Split

public Split(int id,
             Prop props,
             java.lang.String entityTName,
             Transport[] outgoing,
             AnimationQueue queue)
Construct a Split. This constructor has sufficient information to draw the node. Version of the constructor to use with animator package

Parameters:
outgoing - outgoing transports (should be null)
id - id of node
queue - shared queue for use with animator package
Method Detail

use

public void use(SimObject entity)
This method is called by SimObjects when they are done with their business and wish to leave the application scenario. It also computes lifetime statistics for SimObjects.

Parameters:
SimObject - the SimObject that wishes to be captured.

cloneEntity

public void cloneEntity(SimObject entity)
Create and start a new entity (SimObject). This can be done internally in the run method, or externally in response to a Java Beans event.