public class SEQUENCER extends Protocol
| Modifier and Type | Class and Description |
|---|---|
static class |
SEQUENCER.SequencerHeader |
| Constructor and Description |
|---|
SEQUENCER() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
down(Event evt)
An event is to be sent down the stack.
|
java.util.Map<java.lang.String,java.lang.Object> |
dumpStats() |
long |
getBroadcast() |
Address |
getCoordinator() |
long |
getForwarded() |
Address |
getLocalAddress() |
long |
getReceivedBroadcasts() |
long |
getReceivedForwards() |
boolean |
isCoordinator() |
java.lang.String |
printStats() |
void |
resetStats() |
java.lang.Object |
up(Event evt)
An event was received from the layer below.
|
destroy, downThreadEnabled, enableStats, getConfigurableObjects, getDownProtocol, getId, getLevel, getName, getProperties, getProtocolStack, getSocketFactory, getThreadFactory, getTransport, getUpProtocol, getValue, init, isErgonomics, providedDownServices, providedUpServices, requiredDownServices, requiredUpServices, setDownProtocol, setErgonomics, setId, setLevel, setProperties, setPropertiesInternal, setProperty, setProtocolStack, setSocketFactory, setUpProtocol, setValue, setValues, start, statsEnabled, stop, upThreadEnabledpublic boolean isCoordinator()
public Address getCoordinator()
public Address getLocalAddress()
public long getForwarded()
public long getBroadcast()
public long getReceivedForwards()
public long getReceivedBroadcasts()
public void resetStats()
resetStats in class Protocolpublic java.util.Map<java.lang.String,java.lang.Object> dumpStats()
public java.lang.String printStats()
printStats in class Protocolpublic java.lang.Object down(Event evt)
Protocoldown_prot.down(). In case of a GET_ADDRESS event (which tries to
retrieve the stack's address from one of the bottom layers), the layer may need to send
a new response event back up the stack using up_prot.up().public java.lang.Object up(Event evt)
Protocoldown_prot.down() or c) the event (or another event) is sent up
the stack using up_prot.up().Copyright ? 1998-2009 Bela Ban / Red Hat. All Rights Reserved.