Interface ISuperpeerService
-
- All Superinterfaces:
IRemoteRegistryService
public interface ISuperpeerService extends IRemoteRegistryService
Service for service registry superpeers.
-
-
Field Summary
-
Fields inherited from interface jadex.bridge.service.types.registry.IRemoteRegistryService
REMOTE_REGISTRY_NAME
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description <T> jadex.commons.future.ISubscriptionIntermediateFuture<T>
addQuery(ServiceQuery<T> query)
Add a service query to the registry.jadex.commons.future.ISubscriptionIntermediateFuture<java.lang.Void>
registerClient(java.lang.String networkname)
Initiates the client registration procedure (super peer will answer initially with an empty intermediate result, client will send updates with backward commands).-
Methods inherited from interface jadex.bridge.service.types.registry.IRemoteRegistryService
searchService, searchServices
-
-
-
-
Method Detail
-
registerClient
jadex.commons.future.ISubscriptionIntermediateFuture<java.lang.Void> registerClient(java.lang.String networkname)
Initiates the client registration procedure (super peer will answer initially with an empty intermediate result, client will send updates with backward commands).- Parameters:
networkname
- Network for this connection.- Returns:
- Does not return any more results while connection is running.
-
addQuery
<T> jadex.commons.future.ISubscriptionIntermediateFuture<T> addQuery(ServiceQuery<T> query)
Add a service query to the registry.- Parameters:
query
- The service query.- Returns:
- Subscription to matching services.
-
-