org.jgroups.protocols

Class FLOWCONTROL

public class FLOWCONTROL extends Protocol

Title: Flow control layer Description: This layer limits the number of sent messages without a receive of an own message to MAXSENTMSGS, just put this layer above GMS and you will get a more Copyright: Copyright (c) 2000 Company: Computer Network Laboratory

Version: 1.0

Author: Gianluca Collot

Constructor Summary
FLOWCONTROL()
Method Summary
voiddown(Event evt)
Checs if it can send the message, else puts the message in the queue.
StringgetName()
voidup(Event evt)
Checs if up messages are from myaddr and in the case sends down queued messages or decremnts sentMsgs if there are no queued messages

Constructor Detail

FLOWCONTROL

public FLOWCONTROL()

Method Detail

down

public void down(Event evt)
Checs if it can send the message, else puts the message in the queue.

getName

public String getName()

up

public void up(Event evt)
Checs if up messages are from myaddr and in the case sends down queued messages or decremnts sentMsgs if there are no queued messages
Copyright ? 1998-2005 Bela Ban. All Rights Reserved.