Class TcpDeserializationExceptionEvent
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.serializer.TcpDeserializationExceptionEvent
- All Implemented Interfaces:
Serializable
Event representing an exception while decoding an incoming stream.
Contains the buffer of data decoded so far and the offset in the
buffer where the exception occurred, if available, otherwise -1.
- Since:
- 4.0
- Author:
- Gary Russell
- See Also:
-
Field Summary
Fields inherited from class org.springframework.integration.events.IntegrationEvent
cause
Fields inherited from class java.util.EventObject
source
-
Constructor Summary
ConstructorDescriptionTcpDeserializationExceptionEvent
(Object source, Throwable cause, byte[] buffer, int offset) -
Method Summary
Methods inherited from class org.springframework.integration.events.IntegrationEvent
getCause, getSourceAsType, toString
Methods inherited from class org.springframework.context.ApplicationEvent
getTimestamp
Methods inherited from class java.util.EventObject
getSource
-
Constructor Details
-
TcpDeserializationExceptionEvent
-
-
Method Details
-
getBuffer
public byte[] getBuffer() -
getOffset
public int getOffset()
-