eu.reservoir.monitoring.im.dht
Class AbstractDHTInfoPlane

java.lang.Object
  extended by eu.reservoir.monitoring.im.dht.AbstractDHTInfoPlane
All Implemented Interfaces:
InfoPlane, InfoService, Plane
Direct Known Subclasses:
DHTInfoPlane, DHTInfoPlaneConsumer

public abstract class AbstractDHTInfoPlane
extends java.lang.Object
implements InfoPlane

A DHTInfoPlane is an InfoPlane implementation that sends the Information Model data. It is also a DataSourceInteracter so it can, if needed, talk to the DataSource object it gets bound to.


Constructor Summary
AbstractDHTInfoPlane()
           
 
Method Summary
 boolean connect()
          Connect to a delivery mechansim.
 boolean disconnect()
          Dicconnect from a delivery mechansim.
 java.lang.Object getInfo(java.lang.String key)
          Get a value from the InfoPlane.
 java.lang.Object lookupDataSourceInfo(DataSource dataSource, java.lang.String info)
          Lookup some info in the InfoPlane.
 java.lang.Object lookupDataSourceInfo(ID dataSourceID, java.lang.String info)
          Lookup some info in the InfoPlane.
 java.lang.Object lookupProbeAttributeInfo(ID probeID, int field, java.lang.String info)
          Lookup some info in the InfoPlane.
 java.lang.Object lookupProbeAttributeInfo(Probe probe, int field, java.lang.String info)
          Lookup some info in the InfoPlane.
 java.lang.Object lookupProbeInfo(ID probeID, java.lang.String info)
          Lookup some info in the InfoPlane.
 java.lang.Object lookupProbeInfo(Probe probe, java.lang.String info)
          Lookup some info in the InfoPlane.
 boolean putInfo(java.lang.String key, java.io.Serializable value)
          Put a value in the InfoPlane.
 boolean removeInfo(java.lang.String key)
          Remove a value from the InfoPlane.
 
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, dennounce
 
Methods inherited from interface eu.reservoir.monitoring.core.plane.InfoService
addDataSourceInfo, addProbeAttributeInfo, addProbeInfo, modifyDataSourceInfo, modifyProbeAttributeInfo, modifyProbeInfo, removeDataSourceInfo, removeProbeAttributeInfo, removeProbeInfo
 

Constructor Detail

AbstractDHTInfoPlane

public AbstractDHTInfoPlane()
Method Detail

connect

public boolean connect()
Connect to a delivery mechansim.

Specified by:
connect in interface Plane

disconnect

public boolean disconnect()
Dicconnect from a delivery mechansim.

Specified by:
disconnect in interface Plane

lookupDataSourceInfo

public java.lang.Object lookupDataSourceInfo(DataSource dataSource,
                                             java.lang.String info)
Description copied from interface: InfoService
Lookup some info in the InfoPlane.

Specified by:
lookupDataSourceInfo in interface InfoService

lookupDataSourceInfo

public java.lang.Object lookupDataSourceInfo(ID dataSourceID,
                                             java.lang.String info)
Description copied from interface: InfoService
Lookup some info in the InfoPlane. Mostly used at the management end, as it uses DataSource ID.

Specified by:
lookupDataSourceInfo in interface InfoService

lookupProbeInfo

public java.lang.Object lookupProbeInfo(Probe probe,
                                        java.lang.String info)
Description copied from interface: InfoService
Lookup some info in the InfoPlane.

Specified by:
lookupProbeInfo in interface InfoService

lookupProbeInfo

public java.lang.Object lookupProbeInfo(ID probeID,
                                        java.lang.String info)
Description copied from interface: InfoService
Lookup some info in the InfoPlane. Mostly used at the management end, as it uses Probe ID.

Specified by:
lookupProbeInfo in interface InfoService

lookupProbeAttributeInfo

public java.lang.Object lookupProbeAttributeInfo(Probe probe,
                                                 int field,
                                                 java.lang.String info)
Description copied from interface: InfoService
Lookup some info in the InfoPlane.

Specified by:
lookupProbeAttributeInfo in interface InfoService

lookupProbeAttributeInfo

public java.lang.Object lookupProbeAttributeInfo(ID probeID,
                                                 int field,
                                                 java.lang.String info)
Description copied from interface: InfoService
Lookup some info in the InfoPlane. Mostly used at the management end, as it uses Probe ID.

Specified by:
lookupProbeAttributeInfo in interface InfoService

putInfo

public boolean putInfo(java.lang.String key,
                       java.io.Serializable value)
Put a value in the InfoPlane.

Specified by:
putInfo in interface InfoService

getInfo

public java.lang.Object getInfo(java.lang.String key)
Get a value from the InfoPlane.

Specified by:
getInfo in interface InfoService

removeInfo

public boolean removeInfo(java.lang.String key)
Remove a value from the InfoPlane.

Specified by:
removeInfo in interface InfoService


RESERVOIR Monitoring 0.6.4