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).


Constructor Index

 o PT2PT()

Method Index

 o Down(Event)
An event is to be sent down the stack.
 o GetName()
 o Reset()
Just remove if you don't need to reset any state
 o SetProperties(Properties)
Configures the protocol initially.
 o Up(Event)
An event was received from the layer below.

Constructors

 o PT2PT
 public PT2PT()

Methods

 o GetName
 public String GetName()
Overrides:
GetName in class Protocol
 o SetProperties
 public boolean SetProperties(Properties props)
Configures the protocol initially.

Overrides:
SetProperties in class Protocol
 o Reset
 public void Reset()
Just remove if you don't need to reset any state

Overrides:
Reset in class Protocol
 o Up
 public void Up(Event evt)
An event was received from the layer below.

Overrides:
Up in class Protocol
 o 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