Interface ISuperpeerService

    • 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.