org.jgroups.protocols.ring
Class UdpRingNode

java.lang.Object
  extended byorg.jgroups.protocols.ring.UdpRingNode
All Implemented Interfaces:
RingNode

public class UdpRingNode
extends java.lang.Object
implements RingNode


Constructor Summary
UdpRingNode(RpcProtocol owner, Address memberAddress)
           
 
Method Summary
 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)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UdpRingNode

public UdpRingNode(RpcProtocol owner,
                   Address memberAddress)
Method Detail

getTokenReceiverAddress

public IpAddress getTokenReceiverAddress()
Specified by:
getTokenReceiverAddress in interface RingNode

tokenArrived

public void tokenArrived(java.lang.Object token)
Specified by:
tokenArrived 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)
Specified by:
passToken in interface RingNode

reconfigure

public void reconfigure(java.util.Vector newMembers)
Specified by:
reconfigure in interface RingNode


Copyright © 2001,2002 www.jgroups.com . All Rights Reserved.