Package hudson.remoting
Interface EngineListener
- All Known Implementing Classes:
EngineListenerAdapter
,EngineListenerSplitter
public interface EngineListener
Receives status notification from
Engine
.
The callback will be invoked on a non-GUI thread, so if the implementation
wants to touch Swing, SwingUtilities.invokeLater(Runnable)
would be needed.
To implement this interface outside this module, extend from EngineListenerAdapter
instead to protect against method additions in the future.
- Author:
- Kohsuke Kawaguchi
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Fatal error that's non recoverable.void
Called when a connection is terminated.void
Called when a re-connection is about to be attempted.void
Status message that indicates the progress of the operation.void
Status message, with additional stack trace that indicates an error that was recovered.
-
Method Details
-
status
Status message that indicates the progress of the operation. -
status
Status message, with additional stack trace that indicates an error that was recovered. -
error
Fatal error that's non recoverable. -
onDisconnect
void onDisconnect()Called when a connection is terminated. -
onReconnect
void onReconnect()Called when a re-connection is about to be attempted.- Since:
- 2.0
-