Package com.biglybt.core.torrent.impl
Class TOTorrentFileHashTreeImpl.HashRequestImpl
java.lang.Object
com.biglybt.core.torrent.impl.TOTorrentFileHashTreeImpl.HashRequestImpl
- All Implemented Interfaces:
TOTorrentFileHashTree.HashRequest
- Enclosing class:
- TOTorrentFileHashTreeImpl
private class TOTorrentFileHashTreeImpl.HashRequestImpl
extends Object
implements TOTorrentFileHashTree.HashRequest
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final int
private final int
private final int
private final int
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprivate
HashRequestImpl
(int _base_layer, int _offset, int _length, int _proof_layers) -
Method Summary
Modifier and TypeMethodDescriptionint
int
int
int
byte[]
-
Field Details
-
base_layer
private final int base_layer -
offset
private final int offset -
length
private final int length -
proof_layers
private final int proof_layers
-
-
Constructor Details
-
HashRequestImpl
private HashRequestImpl(int _base_layer, int _offset, int _length, int _proof_layers)
-
-
Method Details
-
getRootHash
public byte[] getRootHash()- Specified by:
getRootHash
in interfaceTOTorrentFileHashTree.HashRequest
-
getBaseLayer
public int getBaseLayer()- Specified by:
getBaseLayer
in interfaceTOTorrentFileHashTree.HashRequest
-
getOffset
public int getOffset()- Specified by:
getOffset
in interfaceTOTorrentFileHashTree.HashRequest
-
getLength
public int getLength()- Specified by:
getLength
in interfaceTOTorrentFileHashTree.HashRequest
-
getProofLayers
public int getProofLayers()- Specified by:
getProofLayers
in interfaceTOTorrentFileHashTree.HashRequest
-