public class FLOWCONTROL extends Protocol
down_handler, down_prot, down_queue, down_thread, down_thread_prio, log, observer, props, stack, stats, up_handler, up_prot, up_queue, up_thread, up_thread_prio
Constructor and Description |
---|
FLOWCONTROL() |
Modifier and Type | Method and Description |
---|---|
void |
down(Event evt)
Checs if it can send the message, else puts the message in the queue.
|
java.lang.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
|
destroy, downThreadEnabled, dumpStats, enableStats, getDownProtocol, getDownQueue, getProperties, getUpProtocol, getUpQueue, handleSpecialDownEvent, init, passDown, passUp, printStats, providedDownServices, providedUpServices, receiveDownEvent, receiveUpEvent, requiredDownServices, requiredUpServices, resetStats, setDownProtocol, setObserver, setProperties, setPropertiesInternal, setProtocolStack, setUpProtocol, start, startDownHandler, startUpHandler, statsEnabled, stop, stopInternal, upThreadEnabled
public void up(Event evt)
Copyright ? 1998-2006 Bela Ban. All Rights Reserved.