net.jxta.search.peer
Interface RouterClient

All Known Implementing Classes:
HttpRouterClient

public interface RouterClient

Standard client interface to use a router.


Inner Class Summary
static interface RouterClient.ResponseCallback
          Implementations of this interface should be passed to RouterClient.search.
 
Method Summary
 void search(Request request, RouterClient.ResponseCallback callback)
          Issues an asynchronous search requests and returns the UUID for the request.
 

Method Detail

search

public void search(Request request,
                   RouterClient.ResponseCallback callback)
            throws java.io.IOException
Issues an asynchronous search requests and returns the UUID for the request. The callback will be called for each received response.