Spring Integration

org.springframework.integration.ip.tcp.connection
Class TcpConnectionEvent

java.lang.Object
  extended by java.util.EventObject
      extended by org.springframework.context.ApplicationEvent
          extended by org.springframework.integration.ip.tcp.connection.TcpConnectionEvent
All Implemented Interfaces:
java.io.Serializable

public class TcpConnectionEvent
extends org.springframework.context.ApplicationEvent

ApplicationEvent representing certain operations on a TcpConnection.

Since:
3.0
Author:
Gary Russell
See Also:
Serialized Form

Nested Class Summary
static interface TcpConnectionEvent.EventType
          A marker interface allowing the definition of enums for allowed event types.
static class TcpConnectionEvent.TcpConnectionEventType
          Valid EventTypes - subclasses should provide similar enums for their types.
 
Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
TcpConnectionEvent(TcpConnectionSupport connection, TcpConnectionEvent.EventType type, java.lang.String connectionFactoryName)
           
TcpConnectionEvent(TcpConnectionSupport connection, java.lang.Throwable t, java.lang.String connectionFactoryName)
           
 
Method Summary
 java.lang.String getConnectionFactoryName()
           
 java.lang.String getConnectionId()
           
 TcpConnectionEvent.EventType getType()
           
 java.lang.String toString()
           
 
Methods inherited from class org.springframework.context.ApplicationEvent
getTimestamp
 
Methods inherited from class java.util.EventObject
getSource
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TcpConnectionEvent

public TcpConnectionEvent(TcpConnectionSupport connection,
                          TcpConnectionEvent.EventType type,
                          java.lang.String connectionFactoryName)

TcpConnectionEvent

public TcpConnectionEvent(TcpConnectionSupport connection,
                          java.lang.Throwable t,
                          java.lang.String connectionFactoryName)
Method Detail

getType

public TcpConnectionEvent.EventType getType()

getConnectionId

public java.lang.String getConnectionId()

getConnectionFactoryName

public java.lang.String getConnectionFactoryName()

toString

public java.lang.String toString()
Overrides:
toString in class java.util.EventObject

Spring Integration