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 Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidcomplete(io.pravega.shared.protocol.netty.ConnectionFailedException e)Invoked when theClientConnection.sendAsync(List, CompletedCallback)data has either been written to the wire or failed.
-
-
-
Method Detail
-
complete
void complete(io.pravega.shared.protocol.netty.ConnectionFailedException e)
Invoked when theClientConnection.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)
-
-