| Constructor and Description |
|---|
TP.ProtocolAdapter(java.lang.String cluster_name,
java.lang.String transport_name,
Protocol up,
Protocol down,
java.lang.String pattern,
Address addr) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
down(Event evt)
An event is to be sent down the stack.
|
java.util.List<Address> |
getMembers() |
java.lang.String |
getName() |
ThreadFactory |
getThreadFactory()
Supposed to be overwritten by subclasses.
|
java.lang.String |
toString() |
java.lang.Object |
up(Event evt)
An event was received from the layer below.
|
destroy, downThreadEnabled, dumpStats, enableStats, getDownProtocol, getProperties, getProtocolStack, getTransport, getUpProtocol, init, printStats, providedDownServices, providedUpServices, requiredDownServices, requiredUpServices, resetStats, setDownProtocol, setProperties, setPropertiesInternal, setProtocolStack, setUpProtocol, start, statsEnabled, stop, upThreadEnabledpublic java.util.List<Address> getMembers()
public ThreadFactory getThreadFactory()
ProtocolgetThreadFactory 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().public java.lang.String toString()
toString in class java.lang.ObjectCopyright ? 1998-2008 Bela Ban. All Rights Reserved.