Spring Integration

org.springframework.integration.ip.tcp.connection
Enum TcpConnectionEvent.TcpConnectionEventType

java.lang.Object
  extended by java.lang.Enum<TcpConnectionEvent.TcpConnectionEventType>
      extended by org.springframework.integration.ip.tcp.connection.TcpConnectionEvent.TcpConnectionEventType
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<TcpConnectionEvent.TcpConnectionEventType>, TcpConnectionEvent.EventType
Enclosing class:
TcpConnectionEvent

public static enum TcpConnectionEvent.TcpConnectionEventType
extends java.lang.Enum<TcpConnectionEvent.TcpConnectionEventType>
implements TcpConnectionEvent.EventType

Valid EventTypes - subclasses should provide similar enums for their types.


Enum Constant Summary
CLOSE
           
EXCEPTION
           
OPEN
           
 
Method Summary
static TcpConnectionEvent.TcpConnectionEventType valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static TcpConnectionEvent.TcpConnectionEventType[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

OPEN

public static final TcpConnectionEvent.TcpConnectionEventType OPEN

CLOSE

public static final TcpConnectionEvent.TcpConnectionEventType CLOSE

EXCEPTION

public static final TcpConnectionEvent.TcpConnectionEventType EXCEPTION
Method Detail

values

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

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

valueOf

public static TcpConnectionEvent.TcpConnectionEventType 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

Spring Integration