inria.net.lrmp
Class LrmpErrorEvent

java.lang.Object
  |
  +--inria.net.lrmp.LrmpErrorEvent

public class LrmpErrorEvent
extends java.lang.Object

encapsulates the information about an unrecoverable sequence error event. Such an event is generated if one of the following cases happened:

In these cases, data reception will be synchronized to the latest data sequence.


Field Summary
static int BufferOverrun
          The error cause: out of buffer error, i.e., no enough buffer space.
 int cause
          The error cause.
 LrmpEntity loser
          The loser, generally the local user.
 int losts
          The number of lost packets.
static int MaxTriesReached
          The error cause: maximum number of repair requests reached.
static int SenderGone
          The error cause: the sender is gone.
static int SenderLost
          The error cause: the sender is lost.
 int seqlost
          The sequence number at which the error occured.
 LrmpSender source
          The sender.
protected  long timeoutTime
          the time to send last repair request.
static int Unknown
          The error cause: unknown.
 
Constructor Summary
LrmpErrorEvent()
           
 
Method Summary
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

Unknown

public static final int Unknown
The error cause: unknown.

BufferOverrun

public static final int BufferOverrun
The error cause: out of buffer error, i.e., no enough buffer space.

MaxTriesReached

public static final int MaxTriesReached
The error cause: maximum number of repair requests reached.

SenderLost

public static final int SenderLost
The error cause: the sender is lost.

SenderGone

public static final int SenderGone
The error cause: the sender is gone.

source

public LrmpSender source
The sender.

loser

public LrmpEntity loser
The loser, generally the local user.

seqlost

public int seqlost
The sequence number at which the error occured.

losts

public int losts
The number of lost packets.

cause

public int cause
The error cause.

timeoutTime

protected long timeoutTime
the time to send last repair request.
Constructor Detail

LrmpErrorEvent

public LrmpErrorEvent()
Method Detail

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


JavaTM Reliable MulticastTM Service version 1.1
Copyright (c) 2001, Sun Microsystems Laboratories, All rights reserved.