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

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:
  • 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(Object source, Throwable cause, byte[] buffer, int offset)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    byte[]
     
    int
     

    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(Object source, Throwable cause, byte[] buffer, int offset)
  • Method Details

    • getBuffer

      public byte[] getBuffer()
    • getOffset

      public int getOffset()