F - the type the operations accepts.
T - the type the callback returns.
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
public static interface RemoteFileOperations.OperationsCallback<F,T>
Callback for using the same session for multiple
T doInOperations( RemoteFileOperations< F> operations)
Execute any number of operations using a dedicated remote
session as long as those operations are performed
on the template argument and on the calling thread.
The session will be closed when the callback exits.
operations - the RemoteFileOperations.
Returns: the result of operations.