cnrg.itx.datax.devices
Class DummyDestination

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

public class DummyDestination
extends java.lang.Object
implements Destination

Class for creating a placeholder Destination when we use Channels with no real Destination, but do have a destination for data.


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

Constructor Detail

DummyDestination

public DummyDestination()
Method Detail

start

public void start()

write

public void write(byte[] d)
Specified by:
write in interface Destination

mute

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

close

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

getStatistics

public Stats getStatistics()

getProperties

public PropertiesCollection getProperties()

setProperties

public void setProperties(PropertiesCollection pc)

setPeerProperties

public void setPeerProperties(PropertiesCollection pc)