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 |
---|---|
Object |
down(Event evt)
An event is to be sent down the stack.
|
Map<String,Object> |
dumpStats() |
long |
getBroadcast() |
Address |
getCoordinator() |
long |
getForwarded() |
Address |
getLocalAddress() |
long |
getReceivedBroadcasts() |
long |
getReceivedForwards() |
boolean |
isCoordinator() |
String |
printStats() |
void |
resetStats() |
Object |
up(Event evt)
An event was received from the layer below.
|
destroy, enableStats, getConfigurableObjects, getDownProtocol, getId, getLevel, getName, getProtocolStack, getSocketFactory, getThreadFactory, getTransport, getUpProtocol, getValue, init, isErgonomics, providedDownServices, providedUpServices, requiredDownServices, requiredUpServices, resetStatistics, setDownProtocol, setErgonomics, setId, setLevel, setProtocolStack, setSocketFactory, setUpProtocol, setValue, setValues, start, statsEnabled, stop
public 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 Protocol
public String printStats()
printStats
in class Protocol
public Object down(Event evt)
Protocol
down_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 Object up(Event evt)
Protocol
down_prot.down()
or c) the event (or another event) is sent up
the stack using up_prot.up()
.Copyright © 2012 JBoss by Red Hat. All Rights Reserved.