public class BufferedPieceRegistry extends Object implements IBufferedPieceRegistry
Constructor and Description |
---|
BufferedPieceRegistry() |
Modifier and Type | Method and Description |
---|---|
boolean |
addBufferedPiece(int pieceIndex,
int offset,
BufferedData buffer) |
BufferedData |
getBufferedPiece(int pieceIndex,
int offset) |
public boolean addBufferedPiece(int pieceIndex, int offset, BufferedData buffer)
addBufferedPiece
in interface IBufferedPieceRegistry
public BufferedData getBufferedPiece(int pieceIndex, int offset)
getBufferedPiece
in interface IBufferedPieceRegistry
Copyright © 2016–2021. All rights reserved.