| Constructor and Description |
|---|
UdpRingNode(RpcProtocol owner,
Address memberAddress) |
| Modifier and Type | Method and Description |
|---|---|
IpAddress |
getTokenReceiverAddress() |
void |
passToken(java.lang.Object token) |
java.lang.Object |
receiveToken() |
java.lang.Object |
receiveToken(int timeout) |
void |
reconfigure(java.util.Vector newMembers) |
void |
tokenArrived(java.lang.Object token) |
public UdpRingNode(RpcProtocol owner, Address memberAddress)
public IpAddress getTokenReceiverAddress()
getTokenReceiverAddress in interface RingNodepublic void tokenArrived(java.lang.Object token)
tokenArrived in interface RingNodepublic java.lang.Object receiveToken(int timeout)
throws TokenLostException
receiveToken in interface RingNodeTokenLostExceptionpublic java.lang.Object receiveToken()
throws TokenLostException
receiveToken in interface RingNodeTokenLostExceptionpublic void passToken(java.lang.Object token)
public void reconfigure(java.util.Vector newMembers)
reconfigure in interface RingNodeCopyright ? 1998-2006 Bela Ban. All Rights Reserved.