Interface TransportListener

  • All Known Implementing Classes:
    AmqpProvider

    public interface TransportListener
    Listener interface that should be implemented by users of the various QpidJMS Transport classes.
    • Method Detail

      • onData

        void onData​(io.netty.buffer.ByteBuf incoming)
        Called when new incoming data has become available.
        Parameters:
        incoming - the next incoming packet of data.
      • onTransportClosed

        void onTransportClosed()
        Called if the connection state becomes closed.
      • onTransportError

        void onTransportError​(Throwable cause)
        Called when an error occurs during normal Transport operations.
        Parameters:
        cause - the error that triggered this event.