01: //$Id: RingNode.java,v 1.2 2004/03/30 06:47:20 belaban Exp $
02:
03: package org.jgroups.protocols.ring;
04:
05: import org.jgroups.stack.IpAddress;
06:
07: import java.util.Vector;
08:
09: public interface RingNode {
10: Object receiveToken(int timeout) throws TokenLostException;
11:
12: Object receiveToken() throws TokenLostException;
13:
14: void passToken(Object token) throws TokenLostException;
15:
16: IpAddress getTokenReceiverAddress();
17:
18: void reconfigure(Vector newMembers);
19:
20: void tokenArrived(Object token);
21: }
|