cnrg.itx.datax
Class DummyChannel

java.lang.Object
  |
  +--cnrg.itx.datax.Channel
        |
        +--cnrg.itx.datax.DummyChannel

public class DummyChannel
extends Channel

Channel that doesn't ever copy data. Supports everything else, just has no readerThread.


Fields inherited from class cnrg.itx.datax.Channel
INPUT, OTHER, OUTPUT, SAMPLE_SIZE
 
Constructor Summary
DummyChannel()
           
 
Method Summary
 void close()
          Method to close the Channel.
 void open()
          pretends to open the channel.
 void run()
          Channel reader thread function.
 
Methods inherited from class cnrg.itx.datax.Channel
addDestination, getProperties, getSource, getStatistics, mute, push, removeAllDestinations, removeDestination, setPeerProperties, setProperties, setSource
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DummyChannel

public DummyChannel()
Method Detail

open

public void open()
          throws DataException
pretends to open the channel. Creates buffer, but does not start a thread.
Overrides:
open in class Channel

run

public void run()
Channel reader thread function. Does nothing
Overrides:
run in class Channel

close

public void close()
Method to close the Channel. Code to stop thread is removed.
Overrides:
close in class Channel