Enum Proxy.ProxyState
- java.lang.Object
-
- java.lang.Enum<Proxy.ProxyState>
-
- com.microsoft.azure.proton.transport.proxy.Proxy.ProxyState
-
- All Implemented Interfaces:
Serializable,Comparable<Proxy.ProxyState>
- Enclosing interface:
- Proxy
public static enum Proxy.ProxyState extends Enum<Proxy.ProxyState>
States that the proxy can be in.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description PN_PROXY_CHALLENGEPN_PROXY_CHALLENGE_RESPONDEDPN_PROXY_CONNECTEDPN_PROXY_CONNECTINGPN_PROXY_FAILEDPN_PROXY_NOT_STARTED
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Proxy.ProxyStatevalueOf(String name)Returns the enum constant of this type with the specified name.static Proxy.ProxyState[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
PN_PROXY_NOT_STARTED
public static final Proxy.ProxyState PN_PROXY_NOT_STARTED
-
PN_PROXY_CONNECTING
public static final Proxy.ProxyState PN_PROXY_CONNECTING
-
PN_PROXY_CHALLENGE
public static final Proxy.ProxyState PN_PROXY_CHALLENGE
-
PN_PROXY_CHALLENGE_RESPONDED
public static final Proxy.ProxyState PN_PROXY_CHALLENGE_RESPONDED
-
PN_PROXY_CONNECTED
public static final Proxy.ProxyState PN_PROXY_CONNECTED
-
PN_PROXY_FAILED
public static final Proxy.ProxyState PN_PROXY_FAILED
-
-
Method Detail
-
values
public static Proxy.ProxyState[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (Proxy.ProxyState c : Proxy.ProxyState.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Proxy.ProxyState valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
-