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
Implementation of a PT2PT protocol. When a message is sent to a unicast destination
(msg.dest == unicast dest instead of null (multicast dest)), if there is not yet a
connection to that destination, a connection is established (similar to TCP's connection
establishment) and the message sent. ACKs are used to retransmit lost messages, and all
messages are delivered in FIFO order. Sliding windows are used at the sending and receiving
side (with fixed window size, without window size adaptation).
-
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.
-
Up(Event)
- An event was received from the layer below.
PT2PT
public PT2PT()
GetName
public String GetName()
- 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