net.jxta.search.peer
Class HttpRouterClient

java.lang.Object
  |
  +--net.jxta.search.peer.HttpRouterClient
All Implemented Interfaces:
RouterClient

public class HttpRouterClient
extends java.lang.Object
implements RouterClient


Inner classes inherited from class net.jxta.search.peer.RouterClient
RouterClient.ResponseCallback
 
Constructor Summary
HttpRouterClient(java.net.URL router, int debug)
           
 
Method Summary
 void search(Request request, RouterClient.ResponseCallback callback)
          Issues an asynchronous search requests and returns the UUID for the request.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HttpRouterClient

public HttpRouterClient(java.net.URL router,
                        int debug)
Method Detail

search

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