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:
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
- See Also:
- Serialized Form
-
Field Summary
-
Constructor Summary
Constructors Constructor Description TcpConnectionEvent(TcpConnection connection, java.lang.String connectionFactoryName)TcpConnectionEvent(TcpConnection connection, java.lang.String connectionFactoryName, java.lang.Throwable cause) -
Method Summary
Modifier and Type Method Description java.lang.StringgetConnectionFactoryName()java.lang.StringgetConnectionId()java.lang.StringtoString()
-
Constructor Details
-
TcpConnectionEvent
-
TcpConnectionEvent
public TcpConnectionEvent(TcpConnection connection, java.lang.String connectionFactoryName, java.lang.Throwable cause)
-
-
Method Details
-
getConnectionId
public java.lang.String getConnectionId() -
getConnectionFactoryName
public java.lang.String getConnectionFactoryName() -
toString
public java.lang.String toString()- Overrides:
toStringin classorg.springframework.integration.events.IntegrationEvent
-