net.jxta.search.router
Class Router
java.lang.Object
|
+--net.jxta.search.router.Router
- public class Router
- extends java.lang.Object
Constructor Summary |
Router(Router.Manager manager,
net.jxta.search.util.ThreadService threadService,
net.jxta.peergroup.PeerGroup peerGroup,
net.jxta.search.util.LogService logService)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Router
public Router(Router.Manager manager,
net.jxta.search.util.ThreadService threadService,
net.jxta.peergroup.PeerGroup peerGroup,
net.jxta.search.util.LogService logService)
throws net.jxta.exception.PeerGroupException
addConnectionService
public void addConnectionService(java.lang.String protocol,
Router.ConnectionService cs)
getMergers
public java.util.Iterator getMergers()
getRouteStats
public java.util.Iterator getRouteStats()
getRouteStats
public Router.RouteStats getRouteStats(java.net.URL url)
route
public void route(Request request,
ProviderInfo[] providerInfos,
javax.servlet.http.Cookie[] cookies,
Router.Callback cb)
throws java.io.IOException