gr.uoa.di.madgik.commons.channel.proxy
Enum IChannelLocator.LocatorType

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

public static enum IChannelLocator.LocatorType
extends java.lang.Enum<IChannelLocator.LocatorType>

Defines the available locators that can be used by the framework


Enum Constant Summary
Local
          Local locator type, capable of identifying a channel in the same address space as the one it was created in
TCP
          A locator that uses a TCP connection to identify the referenced channel, capable of identifying a channel from wherever it may be used
 
Method Summary
static IChannelLocator.LocatorType valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static IChannelLocator.LocatorType[] 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 IChannelLocator.LocatorType Local
Local locator type, capable of identifying a channel in the same address space as the one it was created in


TCP

public static final IChannelLocator.LocatorType TCP
A locator that uses a TCP connection to identify the referenced channel, capable of identifying a channel from wherever it may be used

Method Detail

values

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

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

valueOf

public static IChannelLocator.LocatorType 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