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.
| Methods inherited from class java.lang.Object |
,
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
registerNatives,
toString,
wait,
wait,
wait |
DummyDestination
public DummyDestination()
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)