gr.uoa.di.madgik.grs.proxy
Enum IProxy.ProxyType

java.lang.Object
  extended by java.lang.Enum<IProxy.ProxyType>
      extended by gr.uoa.di.madgik.grs.proxy.IProxy.ProxyType
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<IProxy.ProxyType>
Enclosing interface:
IProxy

public static enum IProxy.ProxyType
extends java.lang.Enum<IProxy.ProxyType>

The recognized and supported proxy types

Author:
gpapanikos

Enum Constant Summary
HTTP
           
HTTPStore
           
Local
          A local proxy supported through LocalReaderProxy and LocalWriterProxy
LocalStore
          A local store proxy supported through LocalStoreReaderProxy and LocalStoreWriterProxy
TCP
          A TCP proxy supported through TCPReaderProxy and TCPWriterProxy
TCPStore
          A TCP store proxy supported through TCPStoreReaderProxy and TCPStoreWriterProxy
 
Method Summary
static IProxy.ProxyType valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static IProxy.ProxyType[] values()
          Returns an array containing the constants of this enum type, in the order they are 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

Local

public static final IProxy.ProxyType Local
A local proxy supported through LocalReaderProxy and LocalWriterProxy


TCP

public static final IProxy.ProxyType TCP
A TCP proxy supported through TCPReaderProxy and TCPWriterProxy


LocalStore

public static final IProxy.ProxyType LocalStore
A local store proxy supported through LocalStoreReaderProxy and LocalStoreWriterProxy


TCPStore

public static final IProxy.ProxyType TCPStore
A TCP store proxy supported through TCPStoreReaderProxy and TCPStoreWriterProxy


HTTP

public static final IProxy.ProxyType HTTP

HTTPStore

public static final IProxy.ProxyType HTTPStore
Method Detail

values

public static IProxy.ProxyType[] 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 (IProxy.ProxyType c : IProxy.ProxyType.values())
    System.out.println(c);

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

valueOf

public static IProxy.ProxyType 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
java.lang.NullPointerException - if the argument is null