Class TransportListener.Empty

    • Constructor Detail

      • Empty

        public Empty()
    • Method Detail

      • onSending

        public void onSending​(List<? extends Message> messages)
        Description copied from interface: TransportListener
        Callback method invoked when the batch of messages is being sent.
        Specified by:
        onSending in interface TransportListener
        Parameters:
        messages - the batch of messages being sent
      • onFailure

        public void onFailure​(Throwable failure,
                              List<? extends Message> messages)
        Description copied from interface: TransportListener
        Callback method invoked when a failure to send or receive messages occurs.
        Specified by:
        onFailure in interface TransportListener
        Parameters:
        failure - the failure occurred
        messages - the batch of messages being sent