org.javagroups.protocols.ring
Class TcpRingNode
java.lang.Object
org.javagroups.protocols.ring.TcpRingNode
- All Implemented Interfaces:
- RingNode
- public class TcpRingNode
- extends java.lang.Object
- implements RingNode
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TcpRingNode
public TcpRingNode(RpcProtocol owner,
Address memberAddress)
getTokenReceiverAddress
public IpAddress getTokenReceiverAddress()
- Specified by:
getTokenReceiverAddress
in interface RingNode
receiveToken
public java.lang.Object receiveToken(int timeout)
throws TokenLostException
- Specified by:
receiveToken
in interface RingNode
- Throws:
TokenLostException
receiveToken
public java.lang.Object receiveToken()
throws TokenLostException
- Specified by:
receiveToken
in interface RingNode
- Throws:
TokenLostException
passToken
public void passToken(java.lang.Object token)
throws TokenLostException
- Specified by:
passToken
in interface RingNode
- Throws:
TokenLostException
tokenArrived
public void tokenArrived(java.lang.Object token)
- Specified by:
tokenArrived
in interface RingNode
reconfigureAll
public void reconfigureAll(java.util.Vector newMembers)
reconfigure
public void reconfigure(java.util.Vector newMembers)
- Specified by:
reconfigure
in interface RingNode
Copyright © 2001,2002 www.javagroups.com . All Rights Reserved.