Interface IAwarenessService
-
public interface IAwarenessService
Locate other platforms without polling.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description jadex.commons.future.IFuture<java.util.List<TransportAddress>>
getPlatformAddresses(IComponentIdentifier platformid)
Gets the address for a platform ID using the awareness mechanism.jadex.commons.future.IIntermediateFuture<IComponentIdentifier>
searchPlatforms()
Try to find other platforms and finish after timeout.
-
-
-
Method Detail
-
searchPlatforms
jadex.commons.future.IIntermediateFuture<IComponentIdentifier> searchPlatforms()
Try to find other platforms and finish after timeout. Immediately returns known platforms and concurrently issues a new search, waiting for replies until the timeout.
-
getPlatformAddresses
jadex.commons.future.IFuture<java.util.List<TransportAddress>> getPlatformAddresses(IComponentIdentifier platformid)
Gets the address for a platform ID using the awareness mechanism.- Parameters:
platformid
- The platform ID.- Returns:
- The transport addresses or null if not available.
-
-