KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > jgroups > protocols > ring > RingNode


1 //$Id: RingNode.java,v 1.2 2004/03/30 06:47:20 belaban Exp $
2

3 package org.jgroups.protocols.ring;
4
5 import org.jgroups.stack.IpAddress;
6
7 import java.util.Vector JavaDoc;
8
9 public interface RingNode
10 {
11    Object JavaDoc receiveToken(int timeout) throws TokenLostException;
12
13    Object JavaDoc receiveToken() throws TokenLostException;
14
15    void passToken(Object JavaDoc token) throws TokenLostException;
16
17    IpAddress getTokenReceiverAddress();
18
19    void reconfigure(Vector JavaDoc newMembers);
20
21    void tokenArrived(Object JavaDoc token);
22 }
23
Popular Tags