/external/apache-http/src/org/apache/http/conn/params/ |
H A D | ConnPerRoute.java | 37 * allowed for for a given route. This class can be used by pooling 39 * a fine-grained control of connections on a per route basis. 49 int getMaxForRoute(HttpRoute route); argument
|
H A D | ConnRouteParamBean.java | 63 public void setForcedRoute (final HttpRoute route) { argument 64 params.setParameter(ConnRoutePNames.FORCED_ROUTE, route);
|
H A D | ConnPerRouteBean.java | 42 * a fine-grained control of connections on a per route basis. 81 public void setMaxForRoute(final HttpRoute route, int max) { argument 82 if (route == null) { 84 ("HTTP route may not be null."); 90 this.maxPerHostMap.put(route, Integer.valueOf(max)); 93 public int getMaxForRoute(final HttpRoute route) { argument 94 if (route == null) { 96 ("HTTP route may not be null."); 98 Integer max = this.maxPerHostMap.get(route);
|
H A D | ConnRouteParams.java | 43 * An adaptor for accessing route related parameters in {@link HttpParams}. 64 * A special value indicating "no route". 65 * This is a route with {@link #NO_HOST} as the target. 128 * @return the forced route set in the argument parameters, or 135 HttpRoute route = (HttpRoute) 137 if ((route != null) && NO_ROUTE.equals(route)) { 139 route = null; 141 return route; 150 * @param route th 155 setForcedRoute(HttpParams params, HttpRoute route) argument [all...] |
/external/nist-sip/java/gov/nist/javax/sip/parser/ |
H A D | RouteParser.java | 31 * Parser for a list of route headers. 45 * @param route message to parse to set 47 public RouteParser(String route) { argument 48 super(route); 70 Route route = new Route(); 71 super.parse(route); 72 routeList.add(route);
|
/external/apache-http/src/org/apache/http/impl/client/ |
H A D | RoutedRequest.java | 38 * A request with the route along which it should be sent. 51 protected final HttpRoute route; field in class:RoutedRequest 57 * @param route the route 59 public RoutedRequest(final RequestWrapper req, final HttpRoute route) { argument 62 this.route = route; 70 return route;
|
/external/apache-http/src/org/apache/http/impl/conn/tsccm/ |
H A D | BasicPoolEntry.java | 59 * @param route the planned route for the connection 64 HttpRoute route, 66 super(op, route); 67 if (route == null) { 68 throw new IllegalArgumentException("HTTP route may not be null"); 78 return super.route; 63 BasicPoolEntry(ClientConnectionOperator op, HttpRoute route, ReferenceQueue<Object> queue) argument
|
H A D | BasicPoolEntryRef.java | 43 * This reference explicitly keeps the planned route, so the connection 48 /** The planned route of the entry. */ 49 private final HttpRoute route; field in class:BasicPoolEntryRef 65 route = entry.getPlannedRoute(); 70 * Obtain the planned route for the referenced entry. 71 * The planned route is still available, even if the entry is gone. 73 * @return the planned route 76 return this.route;
|
H A D | AbstractConnPool.java | 147 * @param route the route for which to get the connection 152 * @return pool entry holding a connection for the route 161 HttpRoute route, 166 return requestPoolEntry(route, state).getPoolEntry(timeout, tunit); 173 public abstract PoolEntryRequest requestPoolEntry(HttpRoute route, Object state); argument 206 final HttpRoute route = 209 log.debug("Connection garbage collected. " + route); 211 handleLostEntry(route); 222 * Handles cleaning up for a lost pool entry with the given route 160 getEntry( HttpRoute route, Object state, long timeout, TimeUnit tunit) argument 228 handleLostEntry(HttpRoute route) argument [all...] |
H A D | RouteSpecificPool.java | 46 * A connection sub-pool for a specific route, used by {@link ConnPoolByRoute}. 54 /** The route this pool is for. */ 55 protected final HttpRoute route; field in class:RouteSpecificPool 75 * Creates a new route-specific pool. 77 * @param route the route for which to pool 80 public RouteSpecificPool(HttpRoute route, int maxEntries) { argument 81 this.route = route; 90 * Obtains the route fo [all...] |
/external/okhttp/src/main/java/com/squareup/okhttp/ |
H A D | RouteDatabase.java | 45 public synchronized void connected(Route route) { argument 46 failedRoutes.remove(route); 49 /** Returns true if {@code route} has failed recently and should be avoided. */ 50 public synchronized boolean shouldPostpone(Route route) { argument 51 return failedRoutes.contains(route);
|
/external/apache-http/src/org/apache/http/conn/ |
H A D | ClientConnectionManager.java | 70 ClientConnectionRequest requestConnection(HttpRoute route, Object state) argument
|
H A D | ManagedClientConnection.java | 78 * Obtains the current route of this connection. 80 * @return the route established so far, or 108 * Opens this connection according to the given route. 110 * @param route the route along which to open. It will be opened to 117 void open(HttpRoute route, HttpContext context, HttpParams params) argument 124 * The route is the one previously passed to {@link #open open}. 173 * The route is the one previously passed to {@link #open open}. 198 * A {@link #getRoute route} mismatch, the connection being closed,
|
/external/chromium_org/remoting/host/ |
H A D | host_status_observer.h | 43 // Called on notification of a route change event, when a channel is 47 const protocol::TransportRoute& route) {} 45 OnClientRouteChange(const std::string& jid, const std::string& channel_name, const protocol::TransportRoute& route) argument
|
H A D | ipc_host_event_logger.cc | 58 const protocol::TransportRoute& route) { 62 serialized_route.type = route.type; 63 serialized_route.remote_address = route.remote_address.address(); 64 serialized_route.remote_port = route.remote_address.port(); 65 serialized_route.local_address = route.local_address.address(); 66 serialized_route.local_port = route.local_address.port(); 55 OnClientRouteChange( const std::string& jid, const std::string& channel_name, const protocol::TransportRoute& route) argument
|
H A D | host_event_logger_posix.cc | 39 const protocol::TransportRoute& route) OVERRIDE; 84 const protocol::TransportRoute& route) { 88 jid.c_str(), route.remote_address.ToString().c_str(), 89 route.local_address.ToString().c_str(), channel_name.c_str(), 90 protocol::TransportRoute::GetTypeString(route.type).c_str())); 81 OnClientRouteChange( const std::string& jid, const std::string& channel_name, const protocol::TransportRoute& route) argument
|
H A D | host_event_logger_win.cc | 41 const protocol::TransportRoute& route) OVERRIDE; 96 const protocol::TransportRoute& route) { 99 strings[1] = route.remote_address.ToString(); 100 strings[2] = route.local_address.ToString(); 102 strings[4] = protocol::TransportRoute::GetTypeString(route.type); 93 OnClientRouteChange( const std::string& jid, const std::string& channel_name, const protocol::TransportRoute& route) argument
|
H A D | log_to_server.cc | 86 const protocol::TransportRoute& route) { 90 connection_route_type_[jid] = route.type; 84 OnClientRouteChange(const std::string& jid, const std::string& channel_name, const protocol::TransportRoute& route) argument
|
H A D | log_to_server_unittest.cc | 160 protocol::TransportRoute route; local 161 route.type = protocol::TransportRoute::DIRECT; 162 log_to_server_->OnClientRouteChange(kClientJid1, "video", route); 170 protocol::TransportRoute route; local 171 route.type = protocol::TransportRoute::DIRECT; 172 log_to_server_->OnClientRouteChange(kClientJid1, "video", route);
|
/external/apache-http/src/org/apache/http/impl/conn/ |
H A D | AbstractPoolEntry.java | 52 * {@link HttpRoute route} established. 53 * The adapter delegates methods for establishing the route to 58 * underlying connection and the established route. 77 /** The route for which this entry gets allocated. */ 81 protected volatile HttpRoute route; field in class:AbstractPoolEntry 86 /** The tracked route, or <code>null</code> before tracking starts. */ 94 * @param route the planned route for the connection, 98 HttpRoute route) { 105 this.route 97 AbstractPoolEntry(ClientConnectionOperator connOperator, HttpRoute route) argument 136 open(HttpRoute route, HttpContext context, HttpParams params) argument [all...] |
H A D | AbstractPooledConnAdapter.java | 50 * In addition, methods to establish a route are delegated to the 52 * will clear the tracked route in the pool entry and call the 114 public void open(HttpRoute route, argument 119 poolEntry.open(route, context, params);
|
H A D | SingleClientConnManager.java | 179 final HttpRoute route, 191 route, state); 202 * @param route where the connection should point to 205 * along the given route 207 public ManagedClientConnection getConnection(HttpRoute route, Object state) { argument 209 if (route == null) { 215 log.debug("Get connection for route " + route); 231 !tracker.toRoute().equals(route)); 266 managedConn = new ConnAdapter(uniquePoolEntry, route); 178 requestConnection( final HttpRoute route, final Object state) argument 458 ConnAdapter(PoolEntry entry, HttpRoute route) argument [all...] |
/external/chromium_org/third_party/libjingle/source/talk/base/ |
H A D | natserver.h | 94 SocketAddressPair route; member in struct:talk_base::NATServer::TransEntry 102 /* Creates a new entry that translates the given route. */ 103 void Translate(const SocketAddressPair& route);
|
/external/libppp/src/ |
H A D | ncp.h | 37 u_long sendpipe; /* route sendpipe size */ 38 u_long recvpipe; /* route recvpipe size */ 48 struct sticky_route *route; /* List of dynamic routes */ member in struct:ncp
|
/external/apache-http/src/org/apache/http/conn/routing/ |
H A D | RouteTracker.java | 40 * Helps tracking the steps in establishing a route. 62 // now follow attributes that indicate the established route 64 /** Whether the first hop of the route is established. */ 70 /** Whether the the route is tunnelled end-to-end through proxies. */ 73 /** Whether the route is layered over a tunnel. */ 76 /** Whether the route is secure. */ 81 * Creates a new route tracker. 84 * @param target the host to which to route 85 * @param local the local address to route from, or 100 * Creates a new tracker for the given route 106 RouteTracker(HttpRoute route) argument [all...] |