All Packages Class Hierarchy This Package Previous Next Index
Class JavaGroups.JavaStack.Protocols.EXAMPLE
java.lang.Object
|
+----JavaGroups.JavaStack.Protocol
|
+----JavaGroups.JavaStack.Protocols.EXAMPLE
- public class EXAMPLE
- extends Protocol
Example of a protocol layer. Contains no real functionality, can be used as a template.
-
EXAMPLE()
-
-
Down(Event)
- An event is to be sent down the stack.
-
GetName()
- All protocol names have to be unique !
-
Reset()
- Just remove if you don't need to reset any state
-
SetProperties(Properties)
- Configures the protocol initially.
-
Up(Event)
- An event was received from the layer below.
EXAMPLE
public EXAMPLE()
GetName
public String GetName()
- All protocol names have to be unique !
- Overrides:
- GetName in class Protocol
SetProperties
public boolean SetProperties(Properties props)
- Configures the protocol initially.
- 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)
- An event was received from the layer below.
- Overrides:
- Up in class Protocol
Down
public void Down(Event evt)
- An event is to be sent down the stack.
- Overrides:
- Down in class Protocol
All Packages Class Hierarchy This Package Previous Next Index