01: // $Id: ChannelListener.java,v 1.1.1.1 2003/09/09 01:24:07 belaban Exp $
02:
03: package org.jgroups;
04:
05: /**
06: * Allows a listener to be notified when important channel events occur. For example, when
07: * a channel is closed, a PullPushAdapter can be notified, and stop accordingly.
08: */
09: public interface ChannelListener {
10: void channelConnected(Channel channel);
11:
12: void channelDisconnected(Channel channel);
13:
14: void channelClosed(Channel channel);
15:
16: void channelShunned();
17:
18: void channelReconnected(Address addr);
19: }
|