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 IntegrationEvent
causeFields inherited from class EventObject
source -
Constructor Summary
ConstructorsConstructorDescriptionTcpDeserializationExceptionEvent(Object source, Throwable cause, byte[] buffer, int offset) -
Method Summary
Methods inherited from class IntegrationEvent
getCause, getSourceAsType, toStringMethods inherited from class ApplicationEvent
getTimestampMethods inherited from class EventObject
getSource
-
Constructor Details
-
TcpDeserializationExceptionEvent
-
-
Method Details
-
getBuffer
public byte[] getBuffer() -
getOffset
public int getOffset()
-