| 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objecteu.reservoir.monitoring.distribution.udp.AbstractUDPDataPlaneConsumer
public abstract class AbstractUDPDataPlaneConsumer
| Constructor Summary | |
|---|---|
AbstractUDPDataPlaneConsumer(java.net.InetSocketAddress addr)
Construct a AbstractUDPDataPlaneConsumer.  | 
|
| 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()
Dicconnect from a delivery mechansim.  | 
 void | 
error(java.lang.Exception e)
This method is called just after there has been an error in received from some underlying transport.  | 
abstract  void | 
received(java.io.ByteArrayInputStream bis,
         MetaData metaData)
This method is called just after a packet has been received from some underlying transport at a particular address.  | 
 Measurement | 
report(Measurement m)
Receiver of a measurment, with an extra object that has context info  | 
 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.  | 
 java.lang.Object | 
setMeasurementReceiver(MeasurementReceiver mr)
Set the object that will recieve the measurements.  | 
| Methods inherited from class java.lang.Object | 
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
|---|
public AbstractUDPDataPlaneConsumer(java.net.InetSocketAddress addr)
| Method Detail | 
|---|
public boolean connect()
connect in interface Planepublic boolean disconnect()
disconnect in interface Planepublic boolean announce()
announce in interface Planepublic boolean dennounce()
dennounce in interface Plane
public abstract void received(java.io.ByteArrayInputStream bis,
                              MetaData metaData)
                       throws java.io.IOException,
                              TypeException
received in interface Receivingjava.io.IOException
TypeExceptionpublic void error(java.lang.Exception e)
error in interface Receiving
public int sendData(DataPlaneMessage dpm)
             throws java.lang.Exception
sendData in interface DataServicejava.lang.Exceptionpublic boolean sentData(int id)
sentData in interface DataServicepublic Measurement report(Measurement m)
report in interface MeasurementReceiverpublic java.lang.Object setMeasurementReceiver(MeasurementReceiver mr)
setMeasurementReceiver in interface MeasurementReporting
  | 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||