Searched defs:route (Results 1 - 25 of 69) sorted by relevance

123

/external/apache-http/src/org/apache/http/conn/params/
H A DConnPerRoute.java37 * 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.
54 int getMaxForRoute(HttpRoute route); argument
H A DConnRouteParamBean.java68 public void setForcedRoute (final HttpRoute route) { argument
69 params.setParameter(ConnRoutePNames.FORCED_ROUTE, route);
H A DConnPerRouteBean.java42 * a fine-grained control of connections on a per route basis.
86 public void setMaxForRoute(final HttpRoute route, int max) { argument
87 if (route == null) {
89 ("HTTP route may not be null.");
95 this.maxPerHostMap.put(route, Integer.valueOf(max));
98 public int getMaxForRoute(final HttpRoute route) { argument
99 if (route == null) {
101 ("HTTP route may not be null.");
103 Integer max = this.maxPerHostMap.get(route);
H A DConnRouteParams.java43 * An adaptor for accessing route related parameters in {@link HttpParams}.
69 * A special value indicating "no route".
70 * This is a route with {@link #NO_HOST} as the target.
133 * @return the forced route set in the argument parameters, or
140 HttpRoute route = (HttpRoute)
142 if ((route != null) && NO_ROUTE.equals(route)) {
144 route = null;
146 return route;
155 * @param route th
160 setForcedRoute(HttpParams params, HttpRoute route) argument
[all...]
/external/nist-sip/java/gov/nist/javax/sip/parser/
H A DRouteParser.java31 * 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 DRoutedRequest.java38 * A request with the route along which it should be sent.
56 protected final HttpRoute route; field in class:RoutedRequest
62 * @param route the route
64 public RoutedRequest(final RequestWrapper req, final HttpRoute route) { argument
67 this.route = route;
75 return route;
/external/apache-http/src/org/apache/http/impl/conn/tsccm/
H A DBasicPoolEntry.java64 * @param route the planned route for the connection
69 HttpRoute route,
71 super(op, route);
72 if (route == null) {
73 throw new IllegalArgumentException("HTTP route may not be null");
83 return super.route;
68 BasicPoolEntry(ClientConnectionOperator op, HttpRoute route, ReferenceQueue<Object> queue) argument
H A DBasicPoolEntryRef.java43 * This reference explicitly keeps the planned route, so the connection
53 /** The planned route of the entry. */
54 private final HttpRoute route; field in class:BasicPoolEntryRef
70 route = entry.getPlannedRoute();
75 * Obtain the planned route for the referenced entry.
76 * The planned route is still available, even if the entry is gone.
78 * @return the planned route
81 return this.route;
/external/mockito/cglib-and-asm/src/org/mockito/cglib/proxy/
H A DMixinEmitter.java38 public MixinEmitter(ClassVisitor v, String className, Class[] classes, int[] route) { argument
70 e.aaload((route != null) ? route[i] : i);
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/
H A DRouteDatabase.java37 public synchronized void connected(Route route) { argument
38 failedRoutes.remove(route);
41 /** Returns true if {@code route} has failed recently and should be avoided. */
42 public synchronized boolean shouldPostpone(Route route) { argument
43 return failedRoutes.contains(route);
/external/apache-http/src/org/apache/http/conn/
H A DClientConnectionManager.java75 ClientConnectionRequest requestConnection(HttpRoute route, Object state) argument
H A DManagedClientConnection.java83 * Obtains the current route of this connection.
85 * @return the route established so far, or
113 * Opens this connection according to the given route.
115 * @param route the route along which to open. It will be opened to
122 void open(HttpRoute route, HttpContext context, HttpParams params) argument
129 * The route is the one previously passed to {@link #open open}.
178 * The route is the one previously passed to {@link #open open}.
203 * A {@link #getRoute route} mismatch, the connection being closed,
/external/chromium_org/remoting/host/
H A Dhost_status_logger.cc61 const protocol::TransportRoute& route) {
65 connection_route_type_[jid] = route.type;
58 OnClientRouteChange( const std::string& jid, const std::string& channel_name, const protocol::TransportRoute& route) argument
H A Dhost_status_observer.h41 // Called on notification of a route change event, when a channel is
45 const protocol::TransportRoute& route) {}
43 OnClientRouteChange(const std::string& jid, const std::string& channel_name, const protocol::TransportRoute& route) argument
H A Dipc_host_event_logger.cc58 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 Dhost_event_logger_posix.cc39 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 Dhost_event_logger_win.cc41 const protocol::TransportRoute& route) OVERRIDE;
95 const protocol::TransportRoute& route) {
98 strings[1] = route.remote_address.ToString();
99 strings[2] = route.local_address.ToString();
101 strings[4] = protocol::TransportRoute::GetTypeString(route.type);
92 OnClientRouteChange( const std::string& jid, const std::string& channel_name, const protocol::TransportRoute& route) argument
H A Dhost_status_logger_unittest.cc161 protocol::TransportRoute route; local
162 route.type = protocol::TransportRoute::DIRECT;
163 host_status_logger_->OnClientRouteChange(kClientJid1, "video", route);
172 protocol::TransportRoute route; local
173 route.type = protocol::TransportRoute::DIRECT;
174 host_status_logger_->OnClientRouteChange(kClientJid1, "video", route);
/external/apache-http/src/org/apache/http/impl/conn/
H A DAbstractPoolEntry.java52 * {@link HttpRoute route} established.
53 * The adapter delegates methods for establishing the route to
58 * underlying connection and the established route.
82 /** The route for which this entry gets allocated. */
86 protected volatile HttpRoute route; field in class:AbstractPoolEntry
91 /** The tracked route, or <code>null</code> before tracking starts. */
99 * @param route the planned route for the connection,
103 HttpRoute route) {
110 this.route
102 AbstractPoolEntry(ClientConnectionOperator connOperator, HttpRoute route) argument
141 open(HttpRoute route, HttpContext context, HttpParams params) argument
[all...]
H A DAbstractPooledConnAdapter.java50 * In addition, methods to establish a route are delegated to the
52 * will clear the tracked route in the pool entry and call the
119 public void open(HttpRoute route, argument
124 poolEntry.open(route, context, params);
H A DSingleClientConnManager.java184 final HttpRoute route,
196 route, state);
207 * @param route where the connection should point to
210 * along the given route
212 public ManagedClientConnection getConnection(HttpRoute route, Object state) { argument
214 if (route == null) {
220 log.debug("Get connection for route " + route);
236 !tracker.toRoute().equals(route));
271 managedConn = new ConnAdapter(uniquePoolEntry, route);
183 requestConnection( final HttpRoute route, final Object state) argument
463 ConnAdapter(PoolEntry entry, HttpRoute route) argument
[all...]
/external/chromium_org/third_party/webrtc/base/
H A Dnatserver.h82 SocketAddressPair route; member in struct:rtc::NATServer::TransEntry
91 /* Creates a new entry that translates the given route. */
92 void Translate(const SocketAddressPair& route);
/external/libnl/src/
H A Dnl-route-add.c2 * src/nl-route-add.c Route addition utility
13 #include <netlink/cli/route.h>
22 "Usage: nl-route-add [OPTION]... [ROUTE]\n"
32 " dev=DEV route via device\n"
35 " via=GATEWAY route via other node\n"
55 struct rtnl_route *route; local
66 route = nl_cli_route_alloc();
108 case 'd': nl_cli_route_parse_dst(route, optarg); break;
109 case 'n': nl_cli_route_parse_nexthop(route, optarg, link_cache); break;
110 case 't': nl_cli_route_parse_table(route, optar
[all...]
H A Dnl-route-list.c2 * src/nl-route-list.c List route attributes
13 #include <netlink/cli/route.h>
19 "Usage: nl-route-list [OPTION]... [ROUTE]\n"
22 " -c, --cache List the contents of the route cache\n"
30 " dev=DEV route via device\n"
33 " via=GATEWAY route via other node\n"
54 struct rtnl_route *route; local
64 route = nl_cli_route_alloc();
108 case 'd': nl_cli_route_parse_dst(route, optar
[all...]
/external/apache-http/src/org/apache/http/conn/routing/
H A DRouteTracker.java40 * Helps tracking the steps in establishing a route.
67 // now follow attributes that indicate the established route
69 /** Whether the first hop of the route is established. */
75 /** Whether the the route is tunnelled end-to-end through proxies. */
78 /** Whether the route is layered over a tunnel. */
81 /** Whether the route is secure. */
86 * Creates a new route tracker.
89 * @param target the host to which to route
90 * @param local the local address to route from, or
105 * Creates a new tracker for the given route
111 RouteTracker(HttpRoute route) argument
[all...]

Completed in 8132 milliseconds

123