- Type Parameters:
C- The type of the underlying client object.
T- The return type of the callback method.
- All Known Subinterfaces:
- 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 interface ClientCallback<C,
RemoteFileTemplatecallback with the underlying client instance providing access to lower level methods.
- Gary Russell
doWithClientCalled within the context of a
Session. Perform some operation(s) on the client instance underlying the session. The caller will take care of closing the session after this method exits. However, the implementation is required to perform any clean up required by the client after performing operations.
client- The client instance.
- The return value.