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