dsg.smart.test
Class DoubleSink

java.lang.Object
  extended bydsg.smart.SMBase
      extended bydsg.smart.test.DoubleSink
All Implemented Interfaces:
StreamModule

public class DoubleSink
extends SMBase

A stream module with one input. Decodes a stream of serialized Double objects and prints the results to stdout.


Constructor Summary
DoubleSink()
           
 
Method Summary
 void run(SMContext con)
          Entry point --- should never exit.
 
Methods inherited from class dsg.smart.SMBase
getInput, getNumInputs, getNumOutputs, getOutput, setInput, setOutput, stop
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DoubleSink

public DoubleSink()
Method Detail

run

public void run(SMContext con)
Entry point --- should never exit.

Parameters:
con - a context object, containing any Smart system calls one wishes to provide to the Stream Modules.
See Also:
Session