Class TcpConnectionEvent
java.lang.Object
java.util.EventObject
org.springframework.context.ApplicationEvent
org.springframework.integration.events.IntegrationEvent
org.springframework.integration.ip.event.IpIntegrationEvent
org.springframework.integration.ip.tcp.connection.TcpConnectionEvent
- All Implemented Interfaces:
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
-
Field Summary
-
Constructor Summary
Constructors Constructor Description TcpConnectionEvent(TcpConnection connection, String connectionFactoryName)
TcpConnectionEvent(TcpConnection connection, String connectionFactoryName, Throwable cause)
-
Method Summary
Modifier and Type Method Description String
getConnectionFactoryName()
String
getConnectionId()
String
toString()
Methods inherited from class org.springframework.integration.events.IntegrationEvent
getCause, getSourceAsType
-
Constructor Details
-
Method Details
-
getConnectionId
-
getConnectionFactoryName
-
toString
- Overrides:
toString
in classIntegrationEvent
-