appia.protocols.fifo.fifodual
Class FifoDualSession

java.lang.Object
  |
  +--appia.Session
        |
        +--appia.protocols.fifo.fifodual.FifoDualSession

public class FifoDualSession
extends appia.Session

class that implements reliable FIFO order for point to point and multicast messages.

See Also:
Session

Field Summary
 
Fields inherited from class appia.Session
layer
 
Constructor Summary
FifoDualSession(appia.Layer l)
          Constructor of this session.
FifoDualSession(appia.Layer l, Buffer buffer)
          Constructor of this session.
 
Method Summary
 void handle(appia.Event e)
          Method called when Appia has a event to deliver to this Session.
 
Methods inherited from class appia.Session
boundSessions, getLayer
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FifoDualSession

public FifoDualSession(appia.Layer l)
Constructor of this session.

Parameters:
l - corresponding layer

FifoDualSession

public FifoDualSession(appia.Layer l,
                       Buffer buffer)
Constructor of this session.

Parameters:
l - corresponding layer.
buffer - buffer used to hold messages waiting to be acked.
Method Detail

handle

public void handle(appia.Event e)
Method called when Appia has a event to deliver to this Session. The protocol accepts the following events:

Overrides:
handle in class appia.Session
Parameters:
e - event to be delivered to this session