Interface ClientConnection.CompletedCallback

  • Enclosing interface:
    ClientConnection
    Functional Interface:
    This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

    @FunctionalInterface
    public static interface ClientConnection.CompletedCallback
    • Method Detail

      • complete

        void complete​(io.pravega.shared.protocol.netty.ConnectionFailedException e)
        Invoked when the ClientConnection.sendAsync(List, CompletedCallback) data has either been written to the wire or failed.
        Parameters:
        e - The exception that was encountered (Or null if it is a success)