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

12

/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.
49 int getMaxForRoute(HttpRoute route); argument
H A DConnRouteParamBean.java63 public void setForcedRoute (final HttpRoute route) { argument
64 params.setParameter(ConnRoutePNames.FORCED_ROUTE, route);
H A DConnPerRouteBean.java42 * 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 DConnRouteParams.java43 * 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 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.
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;
H A DDefaultRequestDirector.java117 /** The route planner. */
259 final HttpRoute route) throws ProtocolException {
263 if (route.getProxyHost() != null && !route.isTunnelled()) {
266 HttpHost target = route.getTargetHost();
307 // followup request and route. The request and route passed
312 HttpRoute route = roureq.getRoute();
320 route, userToken);
360 managedConn.open(route, contex
257 rewriteRequestURI( final RequestWrapper request, final HttpRoute route) argument
609 establishRoute(HttpRoute route, HttpContext context) argument
696 createTunnelToTarget(HttpRoute route, HttpContext context) argument
833 createTunnelToProxy(HttpRoute route, int hop, HttpContext context) argument
861 createConnectRequest(HttpRoute route, HttpContext context) argument
[all...]
/external/apache-http/src/org/apache/http/impl/conn/tsccm/
H A DBasicPoolEntry.java59 * @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 DBasicPoolEntryRef.java43 * 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 DAbstractConnPool.java147 * @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 DRouteSpecificPool.java46 * 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...]
H A DThreadSafeClientConnManager.java152 final HttpRoute route,
156 route, state);
167 if (route == null) {
173 + route + ", timeout = " + timeout);
235 // Shutdown of the adapter also clears the tracked route.
261 * Gets the total number of pooled connections for the given route.
263 * are still in use by this connection manager for the route.
266 * @param route the route in question
268 * @return the total number of pooled connections for that route
151 requestConnection( final HttpRoute route, final Object state) argument
270 getConnectionsInPool(HttpRoute route) argument
[all...]
H A DConnPoolByRoute.java53 * A connection pool that maintains connections by route.
58 * <li>connections are re-used only for the exact same route</li>
59 * <li>connection limits are enforced per route rather than per host</li>
83 * A map of route-specific pools.
94 * Creates a new connection pool, managed by route.
145 * Creates a new route-specific pool.
148 * @param route the route
152 protected RouteSpecificPool newRouteSpecificPool(HttpRoute route) { argument
153 return new RouteSpecificPool(route, connPerRout
181 getRoutePool(HttpRoute route, boolean create) argument
203 getConnectionsInPool(HttpRoute route) argument
217 requestPoolEntry( final HttpRoute route, final Object state) argument
262 getEntryBlocking( HttpRoute route, Object state, long timeout, TimeUnit tunit, WaitingThreadAborter aborter) argument
574 handleLostEntry(HttpRoute route) argument
[all...]
/external/apache-http/src/org/apache/http/conn/
H A DClientConnectionManager.java70 ClientConnectionRequest requestConnection(HttpRoute route, Object state) argument
H A DManagedClientConnection.java78 * 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/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.
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 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
114 public void open(HttpRoute route, argument
119 poolEntry.open(route, context, params);
H A DSingleClientConnManager.java179 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/libppp/src/
H A Dncp.h37 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 DRouteTracker.java40 * 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...]
/external/iproute2/doc/
H A Dip-cref.tex115 \item \verb|route| --- routing table entry
1072 \section{{\tt ip route} --- routing table management}
1075 \paragraph{Abbreviations:} \verb|route|, \verb|ro|, \verb|r|.
1077 \paragraph{Object:} \verb|route| entries in the kernel routing tables keep
1080 Each route entry has a {\em key\/} consisting of a {\em prefix\/}
1082 optionally, the TOS value. An IP packet matches the route if the highest
1083 bits of its destination address are equal to the route prefix at least
1084 up to the prefix length and if the TOS of the route is zero or equal to
1093 \item If the TOS of some route with the longest prefix is equal to the TOS
1099 Otherwise, the route looku
[all...]
/external/bluetooth/bluedroid/btif/co/
H A Dbta_dm_co.c196 tBTM_SCO_ROUTE_TYPE route = BTA_DM_SCO_ROUTE_PCM; local
210 route = btui_cb.sco_hci = BTA_DM_SCO_ROUTE_HCI;
213 if (p_codec_type->codec_type == BTA_SCO_CODEC_PCM && route == BTA_DM_SCO_ROUTE_HCI)
222 return route;
/external/kernel-headers/original/linux/
H A Dnetfilter.h260 int (*route)(struct dst_entry **dst, struct flowi *fl); member in struct:nf_afinfo
/external/wpa_supplicant_6/wpa_supplicant/src/drivers/
H A Ddriver_bsd.c38 int route; /* routing socket for events */ member in struct:wpa_driver_bsd_data
451 #include <net/route.h>
709 drv->route = socket(PF_ROUTE, SOCK_RAW, 0);
710 if (drv->route < 0)
712 eloop_register_read_sock(drv->route,
760 eloop_unregister_read_sock(drv->route);
771 (void) close(drv->route); /* ioctl socket */
/external/dhcpcd/
H A Ddhcp.c784 struct rt *route = NULL; local
810 if (route) {
811 route->next = xmalloc(sizeof(*route));
812 route = route->next;
814 routes = route = xmalloc(sizeof(*routes));
815 route->next = NULL;
816 memcpy(&route->dest.s_addr, p, 4);
818 memcpy(&route
[all...]

Completed in 1158 milliseconds

12