udt.sender
Class SenderLossList

java.lang.Object
  extended by udt.sender.SenderLossList

public class SenderLossList
extends Object

stores the sequence number of the lost packets in increasing order


Constructor Summary
SenderLossList()
          create a new sender lost list
 
Method Summary
 Long getFirstEntry()
          retrieves the loss list entry with the lowest sequence number
 void insert(Long obj)
           
 boolean isEmpty()
           
 int size()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SenderLossList

public SenderLossList()
create a new sender lost list

Method Detail

insert

public void insert(Long obj)

getFirstEntry

public Long getFirstEntry()
retrieves the loss list entry with the lowest sequence number


isEmpty

public boolean isEmpty()

size

public int size()

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2013 LittleShoot. All Rights Reserved.