|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objecteu.reservoir.monitoring.im.dht.AbstractDHTInfoPlane
eu.reservoir.monitoring.im.dht.DHTInfoPlane
public class DHTInfoPlane
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 | |
---|---|
DHTInfoPlane(java.lang.String remoteHostname,
int remotePort,
int localPort)
Construct a DHTInfoPlane. |
Method Summary | |
---|---|
boolean |
addDataSourceInfo(DataSource ds)
Add a DataSource |
boolean |
addProbeAttributeInfo(Probe p,
ProbeAttribute pa)
Add a ProbeAttribute to a ProbeAttribute |
boolean |
addProbeInfo(Probe p)
Add a Probe |
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. |
DataSourceDelegate |
getDataSourceDelegate()
Get the DataSourceDelegate this is a delegate for. |
boolean |
modifyDataSourceInfo(DataSource ds)
Modify a DataSource |
boolean |
modifyProbeAttributeInfo(Probe p,
ProbeAttribute pa)
Modify a ProbeAttribute from a Probe |
boolean |
modifyProbeInfo(Probe p)
Modify a Probe |
boolean |
removeDataSourceInfo(DataSource ds)
Remove a DataSource |
boolean |
removeProbeAttributeInfo(Probe p,
ProbeAttribute pa)
Remove a ProbeAttribute from a Probe |
boolean |
removeProbeInfo(Probe p)
Remove a Probe |
DataSourceDelegate |
setDataSourceDelegate(DataSourceDelegate ds)
Set the DataSourceDelegate this is a delegate for. |
Methods inherited from class eu.reservoir.monitoring.im.dht.AbstractDHTInfoPlane |
---|
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.InfoService |
---|
getInfo, lookupDataSourceInfo, lookupDataSourceInfo, lookupProbeAttributeInfo, lookupProbeAttributeInfo, lookupProbeInfo, lookupProbeInfo, putInfo, removeInfo |
Constructor Detail |
---|
public DHTInfoPlane(java.lang.String remoteHostname, int remotePort, int localPort)
Method Detail |
---|
public boolean connect()
connect
in interface Plane
connect
in class AbstractDHTInfoPlane
public boolean disconnect()
disconnect
in interface Plane
disconnect
in class AbstractDHTInfoPlane
public boolean announce()
announce
in interface Plane
public boolean dennounce()
dennounce
in interface Plane
public DataSourceDelegate getDataSourceDelegate()
getDataSourceDelegate
in interface DataSourceDelegateInteracter
public DataSourceDelegate setDataSourceDelegate(DataSourceDelegate ds)
setDataSourceDelegate
in interface DataSourceDelegateInteracter
public boolean addDataSourceInfo(DataSource ds)
addDataSourceInfo
in interface InfoService
public boolean addProbeInfo(Probe p)
addProbeInfo
in interface InfoService
public boolean addProbeAttributeInfo(Probe p, ProbeAttribute pa)
addProbeAttributeInfo
in interface InfoService
public boolean modifyDataSourceInfo(DataSource ds)
modifyDataSourceInfo
in interface InfoService
public boolean modifyProbeInfo(Probe p)
modifyProbeInfo
in interface InfoService
public boolean modifyProbeAttributeInfo(Probe p, ProbeAttribute pa)
modifyProbeAttributeInfo
in interface InfoService
public boolean removeDataSourceInfo(DataSource ds)
removeDataSourceInfo
in interface InfoService
public boolean removeProbeInfo(Probe p)
removeProbeInfo
in interface InfoService
public boolean removeProbeAttributeInfo(Probe p, ProbeAttribute pa)
removeProbeAttributeInfo
in interface InfoService
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |