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, stoppublic 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 String printStats()
printStats in class Protocolpublic 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 Object up(Event evt)
Protocoldown_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.