eu.reservoir.monitoring.distribution.udp
Class UDPDataPlaneProducerNoNames

java.lang.Object
  extended by eu.reservoir.monitoring.distribution.udp.AbstractUDPDataPlaneProducer
      extended by eu.reservoir.monitoring.distribution.udp.UDPDataPlaneProducerNoNames
All Implemented Interfaces:
DataSourceDelegateInteracter, MeasurementReceiver, DataPlane, DataService, Plane, Transmitting

public class UDPDataPlaneProducerNoNames
extends AbstractUDPDataPlaneProducer
implements DataPlane, DataSourceDelegateInteracter, Transmitting

A UDPDataPlaneProducerNoNames is a DataPlane implementation that sends Measurements by UDP. It is also a DataSourceDelegateInteracter so it can, if needed, talk to the DataSource object it gets bound to.


Constructor Summary
UDPDataPlaneProducerNoNames(java.net.InetSocketAddress addr)
          Construct a UDPDataPlaneProducerNoNames
 
Method Summary
 int transmit(DataPlaneMessage dsp)
          Send a message onto the address.
 
Methods inherited from class eu.reservoir.monitoring.distribution.udp.AbstractUDPDataPlaneProducer
announce, connect, dennounce, disconnect, getDataSourceDelegate, report, sendData, sentData, setDataSourceDelegate, transmitted
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface eu.reservoir.monitoring.core.plane.Plane
announce, connect, dennounce, disconnect
 
Methods inherited from interface eu.reservoir.monitoring.core.plane.DataService
sendData, sentData
 
Methods inherited from interface eu.reservoir.monitoring.core.MeasurementReceiver
report
 
Methods inherited from interface eu.reservoir.monitoring.core.DataSourceDelegateInteracter
getDataSourceDelegate, setDataSourceDelegate
 
Methods inherited from interface eu.reservoir.monitoring.distribution.Transmitting
transmitted
 

Constructor Detail

UDPDataPlaneProducerNoNames

public UDPDataPlaneProducerNoNames(java.net.InetSocketAddress addr)
Construct a UDPDataPlaneProducerNoNames

Method Detail

transmit

public int transmit(DataPlaneMessage dsp)
             throws java.lang.Exception
Send a message onto the address. The message is XDR encoded and it's structure is: +-------------------------------------------------------------------+ | data source id (long) | msg type (int) | seq no (int) | payload | +-------------------------------------------------------------------+

Specified by:
transmit in interface Transmitting
Specified by:
transmit in class AbstractUDPDataPlaneProducer
Throws:
java.lang.Exception


RESERVOIR Monitoring 0.6.4