- Type Parameters:
T
- the type of the value returned by this executor.
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Executes an operation using a managed Java Secure Channel (JSCH).
-
Method Summary
Modifier and TypeMethodDescriptionexecuteJsch
(Session session) Executes an operation using supplied Java Secure Channel (JSCH).
-
Method Details
-
executeJsch
Executes an operation using supplied Java Secure Channel (JSCH).- Parameters:
session
- the Java Secure Channel session.- Returns:
- the value computed by the executor.
- Throws:
Exception
- if an error occurs.
-