gr.uoa.di.madgik.commons.channel.proxy
Enum IChannelProxy.ProxyConnector

java.lang.Object
  extended by java.lang.Enum<IChannelProxy.ProxyConnector>
      extended by gr.uoa.di.madgik.commons.channel.proxy.IChannelProxy.ProxyConnector
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<IChannelProxy.ProxyConnector>
Enclosing interface:
IChannelProxy

public static enum IChannelProxy.ProxyConnector
extends java.lang.Enum<IChannelProxy.ProxyConnector>

The types of proxy connectors known and usable by the framework


Enum Constant Summary
Local
          Only a local proxy should be used.
TCP
          A TCP proxy will be used which will create a new TCP listener on some Port.
 
Method Summary
static IChannelProxy.ProxyConnector valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static IChannelProxy.ProxyConnector[] 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 IChannelProxy.ProxyConnector Local
Only a local proxy should be used. The channel handled by the proxy can only be consumed locally and in the same address space to the one produced


TCP

public static final IChannelProxy.ProxyConnector TCP
A TCP proxy will be used which will create a new TCP listener on some Port. The channel handled by the proxy can by consumed on any location, both local and remote

Method Detail

values

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

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

valueOf

public static IChannelProxy.ProxyConnector 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