C - The type of the underlying client object.public abstract class ClientCallbackWithoutResult<C> extends java.lang.Object implements ClientCallback<C,java.lang.Object>
RemoteFileTemplate callback with the underlying client instance providing
access to lower level methods where no result is returned.| Constructor and Description |
|---|
ClientCallbackWithoutResult() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
doWithClient(C client)
Called within the context of a
Session. |
protected abstract void |
doWithClientWithoutResult(C client)
Called within the context of a session.
|
public java.lang.Object doWithClient(C client)
ClientCallbackSession.
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.doWithClient in interface ClientCallback<C,java.lang.Object>client - The client instance.protected abstract void doWithClientWithoutResult(C client)
client - The client.