JavaGroups.JavaStack.Protocols
Class TOTAL
java.lang.Object
|
+--JavaGroups.JavaStack.Protocol
|
+--JavaGroups.JavaStack.Protocols.TOTAL
- public class TOTAL
- extends Protocol
class TOTAL extends Protocol
TODO: (more comments)
Sequencer based total ordering protocol layer
- requires the following layers "below" it in the stack
(or layers with equivalent functionality):
GMS, FD, PING, UDP, ...
- Author:
- Manish Sambhu mms21@cornell.edu Spring 1999
|
Constructor Summary |
TOTAL()
|
|
Method Summary |
void |
Down(Event evt)
handles an Event coming down the Protocol Stack |
java.lang.String |
GetName()
returns the unique name of this protocol |
void |
Reset()
Just remove if you don't need to reset any state |
boolean |
SetProperties(java.util.Properties props)
Configures the protocol initially. |
void |
Up(Event evt)
handles an Event coming up the Protocol Stack |
| Methods inherited from class JavaGroups.JavaStack.Protocol |
GetDownProtocol,
GetProperties,
GetUpProtocol,
PassDown,
PassUp,
ProvidedDownServices,
ProvidedUpServices,
RequiredDownServices,
RequiredUpServices,
SetDownProtocol,
SetProtocolStack,
SetUpProtocol,
StartDownHandler,
StartUpHandler,
StopInternal |
| Methods inherited from class java.lang.Object |
equals,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
TOTAL
public TOTAL()
GetName
public java.lang.String GetName()
- returns the unique name of this protocol
- Overrides:
- GetName in class Protocol
SetProperties
public boolean SetProperties(java.util.Properties props)
- Description copied from class: Protocol
- Configures the protocol initially. A configuration string consists of name=value
items, separated by a ';' (semicolon), e.g.:
"loopback=false;unicast_inport=4444"
- Overrides:
- SetProperties in class Protocol
Reset
public void Reset()
- Just remove if you don't need to reset any state
- Overrides:
- Reset in class Protocol
Up
public void Up(Event evt)
- handles an Event coming up the Protocol Stack
- Overrides:
- Up in class Protocol
Down
public void Down(Event evt)
- handles an Event coming down the Protocol Stack
- Overrides:
- Down in class Protocol