| Modifier and Type | Field and Description |
|---|---|
| public static final int | COMPLETE
Indicates that the route is complete. |
| public static final int | CONNECT_PROXY
Step: open connection to proxy. |
| public static final int | CONNECT_TARGET
Step: open connection to target. |
| public static final int | LAYER_PROTOCOL
Step: layer protocol (over tunnel). |
| public static final int | TUNNEL_PROXY
Step: tunnel through proxy to other proxy. |
| public static final int | TUNNEL_TARGET
Step: tunnel through proxy to target. |
| public static final int | UNREACHABLE
Indicates that the route can not be established at all. |
| Modifier and Type | Method and Description |
|---|---|
| public int | Returns: one of the constants defined in this interface, indicating either the next step to perform, or success, or failure. 0 is for success, a negative value for failure.the planned route plan, RouteInfo the currently established route, or
fact)null if nothing is establishedProvides the next step. |
| COMPLETE | back to summary |
|---|---|
| public static final int COMPLETE Indicates that the route is complete. | |
| CONNECT_PROXY | back to summary |
|---|---|
| public static final int CONNECT_PROXY Step: open connection to proxy. | |
| CONNECT_TARGET | back to summary |
|---|---|
| public static final int CONNECT_TARGET Step: open connection to target. | |
| LAYER_PROTOCOL | back to summary |
|---|---|
| public static final int LAYER_PROTOCOL Step: layer protocol (over tunnel). | |
| TUNNEL_PROXY | back to summary |
|---|---|
| public static final int TUNNEL_PROXY Step: tunnel through proxy to other proxy. | |
| TUNNEL_TARGET | back to summary |
|---|---|
| public static final int TUNNEL_TARGET Step: tunnel through proxy to target. | |
| UNREACHABLE | back to summary |
|---|---|
| public static final int UNREACHABLE Indicates that the route can not be established at all. | |
| nextStep | back to summary |
|---|---|
| public int nextStep(RouteInfo plan, RouteInfo fact) Provides the next step. | |