| |
|
| java.lang.Object java.lang.Thread org.jgroups.stack.UpHandler org.jgroups.protocols.FLOWCONTROL
FLOWCONTROL | public class FLOWCONTROL extends Protocol (Code) | | 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
author: Gianluca Collot version: 1.0 |
Method Summary | |
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) |
MAXSENTMSGS | final static int MAXSENTMSGS(Code) | | |
FLOWCONTROL | public FLOWCONTROL()(Code) | | |
down | public void down(Event evt)(Code) | | Checs if it can send the message, else puts the message in the queue.
|
up | public void up(Event evt)(Code) | | Checs if up messages are from myaddr and in the case sends down queued messages or
decremnts sentMsgs if there are no queued messages
|
Fields inherited from org.jgroups.stack.UpHandler | final protected Log log(Code)(Java Doc)
|
|
|
|