eu.reservoir.monitoring.core.plane
Class DataPlaneMessage

java.lang.Object
  extended by eu.reservoir.monitoring.core.plane.DataPlaneMessage
Direct Known Subclasses:
MeasurementMessage

public abstract class DataPlaneMessage
extends java.lang.Object

This implements the header parts for the Data Plane messages.


Constructor Summary
DataPlaneMessage()
          Construct a DataPlaneMessage object.
 
Method Summary
 DataSource getDataSource()
          Get the DataSource
 int getSeqNo()
          Get the sequence no.
 long getTimeOfDay()
          Get the time of day the Protocol was created
 MessageType getType()
          Get the type.
 void setDataSource(DataSource ds)
          Set the DataSource for the next message.
 void setSeqNo(int seq)
          Set the sequence number of the next message.
 java.lang.String toString()
          A toString() rewrite
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DataPlaneMessage

public DataPlaneMessage()
Construct a DataPlaneMessage object.

Method Detail

getType

public MessageType getType()
Get the type.


getTimeOfDay

public long getTimeOfDay()
Get the time of day the Protocol was created


getSeqNo

public int getSeqNo()
Get the sequence no.


setSeqNo

public void setSeqNo(int seq)
Set the sequence number of the next message.


getDataSource

public DataSource getDataSource()
Get the DataSource


setDataSource

public void setDataSource(DataSource ds)
Set the DataSource for the next message.


toString

public java.lang.String toString()
A toString() rewrite

Overrides:
toString in class java.lang.Object


RESERVOIR Monitoring 0.6.4