hudson.remoting
Class Channel.Listener
java.lang.Object
hudson.remoting.Channel.Listener
- Enclosing class:
- Channel
public abstract static class Channel.Listener
- extends Object
Callback "interface" for changes in the state of Channel.
|
Method Summary |
void |
onClosed(Channel channel,
IOException cause)
When the channel was closed normally or abnormally due to an error. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Channel.Listener
public Channel.Listener()
onClosed
public void onClosed(Channel channel,
IOException cause)
- When the channel was closed normally or abnormally due to an error.
- Parameters:
cause - if the channel is closed abnormally, this parameter
represents an exception that has triggered it.
Otherwise null.
Copyright © 2004-2011. All Rights Reserved.