Package hudson.remoting
Class EngineListenerSplitter
java.lang.Object
hudson.remoting.EngineListenerSplitter
- All Implemented Interfaces:
EngineListener
EngineListener
that distributes callbacks.- Since:
- 2.36
- Author:
- Kohsuke Kawaguchi
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
add
(EngineListener el) void
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
remove
(EngineListener el) void
Status message that indicates the progress of the operation.void
Status message, with additional stack trace that indicates an error that was recovered.
-
Field Details
-
listeners
-
-
Constructor Details
-
EngineListenerSplitter
public EngineListenerSplitter()
-
-
Method Details
-
add
-
remove
-
status
Description copied from interface:EngineListener
Status message that indicates the progress of the operation.- Specified by:
status
in interfaceEngineListener
-
status
Description copied from interface:EngineListener
Status message, with additional stack trace that indicates an error that was recovered.- Specified by:
status
in interfaceEngineListener
-
error
Description copied from interface:EngineListener
Fatal error that's non recoverable.- Specified by:
error
in interfaceEngineListener
-
onDisconnect
public void onDisconnect()Description copied from interface:EngineListener
Called when a connection is terminated.- Specified by:
onDisconnect
in interfaceEngineListener
-
onReconnect
public void onReconnect()Description copied from interface:EngineListener
Called when a re-connection is about to be attempted.- Specified by:
onReconnect
in interfaceEngineListener
-