com.aol.acc
Enum AccProxyProtocol

java.lang.Object
  extended by java.lang.Enum<AccProxyProtocol>
      extended by com.aol.acc.AccProxyProtocol
All Implemented Interfaces:
AccEnum, java.io.Serializable, java.lang.Comparable<AccProxyProtocol>

public enum AccProxyProtocol
extends java.lang.Enum<AccProxyProtocol>
implements AccEnum

Values for the proxy type preference, aimcc.connect.proxy.protocol


Enum Constant Summary
Http
          AIM protocol via HTTP tunnelling, with optional HTTP proxy
Https
          AIM protocol via HTTPS proxy
None
          Direct; no proxy
Socks4
          AIM protocol via SOCKS4 proxy
Socks5
          AIM protocol via SOCKS5 proxy
UNKNOWNVALUE
           
 
Method Summary
 boolean equals(int i)
           
static AccProxyProtocol intToEnum(int value)
           
 AccProxyProtocol or(AccProxyProtocol val)
           
 int value()
           
static AccProxyProtocol valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static AccProxyProtocol[] values()
          Returns an array containing the constants of this enum type, in the order they're declared.
 
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

UNKNOWNVALUE

public static final AccProxyProtocol UNKNOWNVALUE

None

public static final AccProxyProtocol None
Direct; no proxy


Socks4

public static final AccProxyProtocol Socks4
AIM protocol via SOCKS4 proxy


Socks5

public static final AccProxyProtocol Socks5
AIM protocol via SOCKS5 proxy


Http

public static final AccProxyProtocol Http
AIM protocol via HTTP tunnelling, with optional HTTP proxy


Https

public static final AccProxyProtocol Https
AIM protocol via HTTPS proxy

Method Detail

values

public static final AccProxyProtocol[] values()
Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants as follows:
for(AccProxyProtocol c : AccProxyProtocol.values())
        System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they're declared

valueOf

public static AccProxyProtocol valueOf(java.lang.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:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name

value

public final int value()
Specified by:
value in interface AccEnum

equals

public final boolean equals(int i)

or

public final AccProxyProtocol or(AccProxyProtocol val)

intToEnum

public static AccProxyProtocol intToEnum(int value)