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