public interface IAwarenessManagementService
Modifier and Type | Method and Description |
---|---|
IFuture<java.lang.Boolean> |
addAwarenessInfo(AwarenessInfo info)
Announce an awareness info.
|
IFuture<java.util.Collection<DiscoveryInfo>> |
getKnownPlatforms()
Get the currently known platforms.
|
IFuture<DiscoveryInfo> |
getPlatformInfo(IComponentIdentifier cid)
Get the discovery info for a platform, if any.
|
ISubscriptionIntermediateFuture<DiscoveryInfo> |
subscribeToPlatformList(boolean include_initial)
Retrieve information about platforms as they appear or vanish.
|
IFuture<java.lang.Boolean> addAwarenessInfo(AwarenessInfo info)
info
- The info (passed as local reference).IFuture<DiscoveryInfo> getPlatformInfo(IComponentIdentifier cid)
cid
- The platform id.IFuture<java.util.Collection<DiscoveryInfo>> getKnownPlatforms()
ISubscriptionIntermediateFuture<DiscoveryInfo> subscribeToPlatformList(boolean include_initial)
include_initial
- If true, information about initially known platforms will be immediately posted to the caller.
Otherwise only changes that happen after the subscription will be posted.