Interface ClientCallbackWithoutResult<C>
- Type Parameters:
- C- The type of the underlying client object.
- All Superinterfaces:
- ClientCallback<C,- Object> 
- 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 ClientCallbackWithoutResult<C>
extends ClientCallback<C,Object> 
RemoteFileTemplate callback with the underlying client instance providing
 access to lower level methods where no result is returned.- Since:
- 4.1
- Author:
- Gary Russell, Artem Bilan
- 
Method SummaryModifier and TypeMethodDescriptiondefault ObjectdoWithClient(C client) Called within the context of aSession.voiddoWithClientWithoutResult(C client) Called within the context of a session.
- 
Method Details- 
doWithClientDescription copied from interface:ClientCallbackCalled within the context of aSession. 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.- Specified by:
- doWithClientin interface- ClientCallback<C,- Object> 
- Parameters:
- client- The client instance.
- Returns:
- The return value.
 
- 
doWithClientWithoutResultCalled 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.- Parameters:
- client- The client.
 
 
-