Package com.sshtools.client.tasks
Interface ShellTask.ShellTaskEvent
- Enclosing class:
- ShellTask
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Functional interface for tasks run on certain shell events.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
shellEvent
(ShellTask task, SessionChannelNG session) Shell event occurred.
-
Method Details
-
shellEvent
Shell event occurred. Checked exceptions are caught and rethrown as anIllegalStateException
.- Parameters:
task
- tasksession
- session- Throws:
Exception
- on any error
-