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
Method Summary |
void | down(Event evt)
Checs if it can send the message, else puts the message in the queue. |
String | getName() |
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 |
public FLOWCONTROL()
public void down(
Event evt)
Checs if it can send the message, else puts the message in the queue.
public String getName()
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.