F
- the type the operations accepts.T
- the type the callback returns.@FunctionalInterface public interface SessionCallback<F,T>
RemoteFileOperations.execute()
- allows multiple operations
on a session.Modifier and Type | Method and Description |
---|---|
T |
doInSession(Session<F> session)
Called within the context of a session.
|
T doInSession(Session<F> session) throws IOException
session
- The session.IOException
- Any IOException.