@FunctionalInterface public interface MessageSessionCallback<F,T>
RemoteFileOperations.executeForMessage()
- allows multiple operations on a session.Modifier and Type | Method and Description |
---|---|
T |
doInSession(Session<F> session,
Message<?> requestMessage)
Called within the context of a session and requestMessage.
|
T doInSession(Session<F> session, Message<?> requestMessage) throws IOException
session
- The session.requestMessage
- The message to take in account with session operation(s).IOException
- Any IOException.