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:
java.io.Serializable

public class TcpDeserializationExceptionEvent
extends IpIntegrationEvent
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
See Also:
Serialized Form
  • Field Summary

    Fields inherited from class org.springframework.integration.events.IntegrationEvent

    cause

    Fields inherited from class java.util.EventObject

    source
  • Constructor Summary

    Constructors 
    Constructor Description
    TcpDeserializationExceptionEvent​(java.lang.Object source, java.lang.Throwable cause, byte[] buffer, int offset)  
  • Method Summary

    Modifier and Type Method Description
    byte[] getBuffer()  
    int getOffset()  

    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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • TcpDeserializationExceptionEvent

      public TcpDeserializationExceptionEvent​(java.lang.Object source, java.lang.Throwable cause, byte[] buffer, int offset)
  • Method Details