1 // $Id: ChannelListener.java,v 1.1.1.1 2003/09/09 01:24:07 belaban Exp $2 3 package org.jgroups;4 5 6 /**7 * Allows a listener to be notified when important channel events occur. For example, when8 * a channel is closed, a PullPushAdapter can be notified, and stop accordingly.9 */10 public interface ChannelListener {11 void channelConnected(Channel channel);12 void channelDisconnected(Channel channel);13 void channelClosed(Channel channel);14 void channelShunned();15 void channelReconnected(Address addr);16 }17