Package org.jenkinsci.remoting.protocol
Interface ProtocolStack.Listener
-
- Enclosing class:
- ProtocolStack<T>
public static interface ProtocolStack.Listener
Callback "interface" for changes in the state ofProtocolStack
.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
onClosed(ProtocolStack<?> stack, IOException cause)
When the stack was closed normally or abnormally due to an error.
-
-
-
Method Detail
-
onClosed
void onClosed(ProtocolStack<?> stack, IOException cause)
When the stack was closed normally or abnormally due to an error.- Parameters:
stack
- the stack that has closed.cause
- if the stack is closed abnormally, this parameter represents an exception that has triggered it. Otherwisenull
.
-
-