|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objecteu.reservoir.monitoring.distribution.multicast.AbstractMulticastDataPlaneProducer
public abstract class AbstractMulticastDataPlaneProducer
A MulticastDataPlaneProducer is a DataPlane implementation that sends Measurements by multicast. It is also a DataSourceDelegateInteracter so it can, if needed, talk to the DataSource object it gets bound to.
Constructor Summary | |
---|---|
AbstractMulticastDataPlaneProducer(MulticastAddress addr)
Construct a MulticastDataPlaneProducer. |
Method Summary | |
---|---|
boolean |
announce()
Announce that the plane is up and running |
boolean |
connect()
Connect to a delivery mechansim. |
boolean |
dennounce()
Un-announce that the plane is up and running |
boolean |
disconnect()
Disconnect from a delivery mechansim. |
DataSourceDelegate |
getDataSourceDelegate()
Get the dataSourceDelegate this is a delegate for. |
Measurement |
report(Measurement m)
Receiver of a measurment |
int |
sendData(DataPlaneMessage dpm)
Send a message. |
boolean |
sentData(int id)
This method is called just after a message has been sent to the underlying transport. |
DataSourceDelegate |
setDataSourceDelegate(DataSourceDelegate ds)
Set the dataSourceDelegate this is a delegate for. |
abstract int |
transmit(DataPlaneMessage dpm)
Send a message onto the multicast address. |
boolean |
transmitted(int id)
This method is called just after a message has been sent to the underlying transport. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AbstractMulticastDataPlaneProducer(MulticastAddress addr)
Method Detail |
---|
public boolean connect()
connect
in interface Plane
public boolean disconnect()
disconnect
in interface Plane
public boolean announce()
announce
in interface Plane
public boolean dennounce()
dennounce
in interface Plane
public abstract int transmit(DataPlaneMessage dpm) throws java.lang.Exception
transmit
in interface Transmitting
java.lang.Exception
public boolean transmitted(int id)
transmitted
in interface Transmitting
public int sendData(DataPlaneMessage dpm) throws java.lang.Exception
sendData
in interface DataService
java.lang.Exception
public boolean sentData(int id)
sentData
in interface DataService
public Measurement report(Measurement m)
report
in interface MeasurementReceiver
public DataSourceDelegate getDataSourceDelegate()
getDataSourceDelegate
in interface DataSourceDelegateInteracter
public DataSourceDelegate setDataSourceDelegate(DataSourceDelegate ds)
setDataSourceDelegate
in interface DataSourceDelegateInteracter
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |