appia.protocols.fifo.fifomulticast
Class FifoMulticastSession

java.lang.Object
  |
  +--appia.Session
        |
        +--appia.protocols.fifo.fifomulticast.FifoMulticastSession

public class FifoMulticastSession
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
FifoMulticastSession(appia.Layer l)
          Constructor of this session.
 
Method Summary
protected  void addMessage(WaitingMessage message)
           
protected  java.lang.Object[] getArrayOfBuffer()
           
 void handle(appia.Event e)
          Method called when Appia has a event to deliver to this Session.
protected  void removeMessage(WaitingMessage message)
           
protected  int sizeOfBuffer()
           
 
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

FifoMulticastSession

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

Parameters:
l - corresponding layer
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 deliverd to this session

addMessage

protected void addMessage(WaitingMessage message)

removeMessage

protected void removeMessage(WaitingMessage message)

sizeOfBuffer

protected int sizeOfBuffer()

getArrayOfBuffer

protected java.lang.Object[] getArrayOfBuffer()