network
Class Sink

java.lang.Object
  extended by network.Node
      extended by network.Sink

public class Sink
extends Node

A Sink node absrobs customers from a queueing network. Departing customers are registered with the Network class, which records the customer's sojourn time.


Constructor Summary
Sink()
           
Sink(java.lang.String name)
           
 
Method Summary
protected  void accept(Customer c)
           
 
Methods inherited from class network.Node
displayResults, enter, forward, getId, getName, logResults, resetMeasures, setLink, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Sink

public Sink()

Sink

public Sink(java.lang.String name)
Method Detail

accept

protected void accept(Customer c)
Overrides:
accept in class Node