|
Appia Documentation | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sf.appia.core.Session
net.sf.appia.protocols.nakfifo.NakFifoSession
public class NakFifoSession
Session of protocols that provides reliable point-to-point communication.
It offers AppiaMulticast support by sending a different message to each
destination.
Field Summary | |
---|---|
static boolean |
debugFull
Full debug information. |
static int |
debugListLimit
|
static long |
DEFAULT_MAX_APPL_TIME
Default maximum time without receiving an Application message. |
static long |
DEFAULT_MAX_RECV_TIME
Default maximum time, in milliseconds, to recieve a message from a peer. |
static long |
DEFAULT_MAX_SENT_TIME
Default maximum time to send a message to a peer. |
static long |
DEFAULT_RESEND_TIME
Default time, in milliseconds, to resend a NAK. |
static long |
DEFAULT_TIMER_PERIOD
The default duration of a round in milliseconds. |
Fields inherited from class net.sf.appia.core.Session |
---|
layer |
Constructor Summary | |
---|---|
NakFifoSession(Layer layer)
Creates a new instance of NakFifoSession |
Method Summary | |
---|---|
void |
handle(Event event)
Main Event handler. |
void |
init(SessionProperties params)
Initializes the session using the parameters given in the XML configuration. |
Methods inherited from class net.sf.appia.core.Session |
---|
boundSessions, getId, getLayer, setId |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final long DEFAULT_TIMER_PERIOD
public static final long DEFAULT_RESEND_TIME
public static final long DEFAULT_MAX_APPL_TIME
public static final long DEFAULT_MAX_RECV_TIME
public static final long DEFAULT_MAX_SENT_TIME
public static final boolean debugFull
public static final int debugListLimit
Constructor Detail |
---|
public NakFifoSession(Layer layer)
Method Detail |
---|
public void init(SessionProperties params)
init
in interface InitializableSession
params
- The parameters given in the XML configuration.SessionProperties
public void handle(Event event)
handle
in class Session
|
Appia Documentation | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |