hudson.remoting
Class Channel.Listener

java.lang.Object
  extended by hudson.remoting.Channel.Listener
Enclosing class:
Channel

public abstract static class Channel.Listener
extends java.lang.Object

Callback "interface" for changes in the state of Channel.


Constructor Summary
Channel.Listener()
           
 
Method Summary
 void onClosed(Channel channel, java.io.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
 

Constructor Detail

Channel.Listener

public Channel.Listener()
Method Detail

onClosed

public void onClosed(Channel channel,
                     java.io.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 © 2012. All Rights Reserved.