cnrg.itx.datax.devices
Class DummySource

java.lang.Object
  |
  +--cnrg.itx.datax.devices.DummySource

public class DummySource
extends java.lang.Object
implements Source

Class for creating a placeholder Source when we use Channels with no real Source, but do have a source of data


Constructor Summary
DummySource()
           
 
Method Summary
 void close()
           
 PropertiesCollection getProperties()
           
 Stats getStatistics()
           
 boolean mute(boolean b)
           
 void setPeerProperties(PropertiesCollection pc)
           
 void setProperties(PropertiesCollection pc)
           
 void start()
           
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Constructor Detail

DummySource

public DummySource()
Method Detail

start

public void start()
Specified by:
start in interface Source

mute

public boolean mute(boolean b)
Specified by:
mute in interface Source

close

public void close()
Specified by:
close in interface Source

getStatistics

public Stats getStatistics()

getProperties

public PropertiesCollection getProperties()

setProperties

public void setProperties(PropertiesCollection pc)

setPeerProperties

public void setPeerProperties(PropertiesCollection pc)