org.jgroups.protocols.ring

Class UdpRingNode

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(Object token)
Object
receiveToken()
Object
receiveToken(int timeout)
void
reconfigure(Vector newMembers)
void
tokenArrived(Object token)

Constructor Details

UdpRingNode

public UdpRingNode(RpcProtocol owner,
                   Address memberAddress)

Method Details

getTokenReceiverAddress

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


passToken

public void passToken(Object token)
Specified by:
passToken in interface RingNode


receiveToken

public Object receiveToken()
            throws TokenLostException
Specified by:
receiveToken in interface RingNode


receiveToken

public Object receiveToken(int timeout)
            throws TokenLostException
Specified by:
receiveToken in interface RingNode


reconfigure

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


tokenArrived

public void tokenArrived(Object token)
Specified by:
tokenArrived in interface RingNode


Copyright B) 2001,2002 www.jgroups.com . All Rights Reserved.