org.springframework.integration.ip.tcp.connection
Class TcpConnectionEvent
java.lang.Object
java.util.EventObject
org.springframework.context.ApplicationEvent
org.springframework.integration.event.IntegrationEvent
org.springframework.integration.ip.event.IpIntegrationEvent
org.springframework.integration.ip.tcp.connection.TcpConnectionEvent
- All Implemented Interfaces:
- java.io.Serializable
- Direct Known Subclasses:
- TcpConnectionCloseEvent, TcpConnectionExceptionEvent, TcpConnectionOpenEvent
public abstract class TcpConnectionEvent
- extends IpIntegrationEvent
ApplicationEvent representing normal operations on a TcpConnection
.
- Since:
- 3.0
- Author:
- Gary Russell
- See Also:
- Serialized Form
Fields inherited from class java.util.EventObject |
source |
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 |
TcpConnectionEvent
public TcpConnectionEvent(TcpConnection connection,
java.lang.String connectionFactoryName)
TcpConnectionEvent
public TcpConnectionEvent(TcpConnection connection,
java.lang.String connectionFactoryName,
java.lang.Throwable cause)
getConnectionId
public java.lang.String getConnectionId()
getConnectionFactoryName
public java.lang.String getConnectionFactoryName()
toString
public java.lang.String toString()
- Overrides:
toString
in class IntegrationEvent