KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > tc > cluster > ClusterEventListener


1 /*
2  * All content copyright (c) 2003-2007 Terracotta, Inc., except as may otherwise be noted in a separate copyright
3  * notice. All rights reserved.
4  */

5 package com.tc.cluster;
6
7 import java.util.EventListener JavaDoc;
8
9 public interface ClusterEventListener extends EventListener JavaDoc {
10   
11   void nodeConnected(String JavaDoc nodeId);
12
13   void nodeDisconnected(String JavaDoc nodeId);
14
15   void thisNodeDisconnected(String JavaDoc thisNodeId);
16
17   void thisNodeConnected(String JavaDoc thisNodeId, String JavaDoc[] nodesCurrentlyInCluster);
18 }
19
Popular Tags