eu.reservoir.monitoring.im.dht
Class DHTInfoPlaneConsumer

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

public class DHTInfoPlaneConsumer
extends AbstractDHTInfoPlane
implements InfoPlane

A DHTInfoPlaneConsumer is an InfoPlane implementation that collects data from the Information Model data.


Constructor Summary
DHTInfoPlaneConsumer(java.lang.String remoteHostname, int remotePort, int localPort)
          Construct a DHTInfoPlaneConsumer.
 
Method Summary
 boolean addDataSourceInfo(DataSource ds)
          Consumer can never add a DataSource.
 boolean addProbeAttributeInfo(Probe p, ProbeAttribute pa)
          Consumer can never add a ProbeAttribute to a ProbeAttribute
 boolean addProbeInfo(Probe p)
          Consumer can never add a Probe.
 boolean announce()
          Announce that the plane is up and running
 boolean dennounce()
          Un-announce that the plane is up and running
 boolean modifyDataSourceInfo(DataSource ds)
          Consumer can never remove a DataSource
 boolean modifyProbeAttributeInfo(Probe p, ProbeAttribute pa)
          Consumer can never remove a ProbeAttribute from a Probe
 boolean modifyProbeInfo(Probe p)
          Consumer can never remove a Probe
 boolean removeDataSourceInfo(DataSource ds)
          Consumer can never remove a DataSource
 boolean removeProbeAttributeInfo(Probe p, ProbeAttribute pa)
          Consumer can never remove a ProbeAttribute from a Probe
 boolean removeProbeInfo(Probe p)
          Consumer can never remove a Probe
 
Methods inherited from class eu.reservoir.monitoring.im.dht.AbstractDHTInfoPlane
connect, disconnect, getInfo, lookupDataSourceInfo, lookupDataSourceInfo, lookupProbeAttributeInfo, lookupProbeAttributeInfo, lookupProbeInfo, lookupProbeInfo, putInfo, removeInfo
 
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
connect, disconnect
 
Methods inherited from interface eu.reservoir.monitoring.core.plane.InfoService
getInfo, lookupDataSourceInfo, lookupDataSourceInfo, lookupProbeAttributeInfo, lookupProbeAttributeInfo, lookupProbeInfo, lookupProbeInfo, putInfo, removeInfo
 

Constructor Detail

DHTInfoPlaneConsumer

public DHTInfoPlaneConsumer(java.lang.String remoteHostname,
                            int remotePort,
                            int localPort)
Construct a DHTInfoPlaneConsumer. Connect to the DHT root at hostname on port, and start here on localPort.

Method Detail

announce

public boolean announce()
Announce that the plane is up and running

Specified by:
announce in interface Plane

dennounce

public boolean dennounce()
Un-announce that the plane is up and running

Specified by:
dennounce in interface Plane

addDataSourceInfo

public boolean addDataSourceInfo(DataSource ds)
Consumer can never add a DataSource. Return false

Specified by:
addDataSourceInfo in interface InfoService

addProbeInfo

public boolean addProbeInfo(Probe p)
Consumer can never add a Probe. Return false

Specified by:
addProbeInfo in interface InfoService

addProbeAttributeInfo

public boolean addProbeAttributeInfo(Probe p,
                                     ProbeAttribute pa)
Consumer can never add a ProbeAttribute to a ProbeAttribute

Specified by:
addProbeAttributeInfo in interface InfoService

modifyDataSourceInfo

public boolean modifyDataSourceInfo(DataSource ds)
Consumer can never remove a DataSource

Specified by:
modifyDataSourceInfo in interface InfoService

modifyProbeInfo

public boolean modifyProbeInfo(Probe p)
Consumer can never remove a Probe

Specified by:
modifyProbeInfo in interface InfoService

modifyProbeAttributeInfo

public boolean modifyProbeAttributeInfo(Probe p,
                                        ProbeAttribute pa)
Consumer can never remove a ProbeAttribute from a Probe

Specified by:
modifyProbeAttributeInfo in interface InfoService

removeDataSourceInfo

public boolean removeDataSourceInfo(DataSource ds)
Consumer can never remove a DataSource

Specified by:
removeDataSourceInfo in interface InfoService

removeProbeInfo

public boolean removeProbeInfo(Probe p)
Consumer can never remove a Probe

Specified by:
removeProbeInfo in interface InfoService

removeProbeAttributeInfo

public boolean removeProbeAttributeInfo(Probe p,
                                        ProbeAttribute pa)
Consumer can never remove a ProbeAttribute from a Probe

Specified by:
removeProbeAttributeInfo in interface InfoService


RESERVOIR Monitoring 0.6.4