org.xnap.plugin.opennap.net
Class OpenNapSegmentManager

java.lang.Object
  extended by org.xnap.plugin.opennap.net.OpenNapSegmentManager

public class OpenNapSegmentManager
extends java.lang.Object


Field Summary
static int OVERLAP
          The number of bytes two segments need to overlap.
 
Constructor Summary
OpenNapSegmentManager(OpenNapDownloadContainer parent, boolean multiSourceDownloading)
           
OpenNapSegmentManager(OpenNapDownloadContainer parent, boolean multiSourceDownloading, OpenNapSegmentData[] data)
           
 
Method Summary
 long getBytesTransferred()
           
 OpenNapSegment getRoot()
           
 Segment[] getSegments()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

OVERLAP

public static final int OVERLAP
The number of bytes two segments need to overlap.

See Also:
Constant Field Values
Constructor Detail

OpenNapSegmentManager

public OpenNapSegmentManager(OpenNapDownloadContainer parent,
                             boolean multiSourceDownloading,
                             OpenNapSegmentData[] data)

OpenNapSegmentManager

public OpenNapSegmentManager(OpenNapDownloadContainer parent,
                             boolean multiSourceDownloading)
Method Detail

getBytesTransferred

public long getBytesTransferred()

getRoot

public OpenNapSegment getRoot()

getSegments

public Segment[] getSegments()


Copyright © 2001-2005 XNap Team. All Rights Reserved.