FileDocCategorySizeDatePackage
DiskManagerWriteRequestImpl.javaAPI DocAzureus 3.0.3.41985Wed Jul 19 13:36:20 BST 2006org.gudy.azureus2.core3.disk.impl.access.impl

DiskManagerWriteRequestImpl

public class DiskManagerWriteRequestImpl extends DiskManagerRequestImpl implements DiskManagerWriteRequest

Fields Summary
private int
pieceNumber
private int
offset
private org.gudy.azureus2.core3.util.DirectByteBuffer
buffer
private Object
user_data
Constructors Summary
public DiskManagerWriteRequestImpl(int _pieceNumber, int _offset, org.gudy.azureus2.core3.util.DirectByteBuffer _buffer, Object _user_data)

		pieceNumber = _pieceNumber;
	    offset 		= _offset;
	    buffer		= _buffer;
	    user_data	=_user_data;
	
Methods Summary
public org.gudy.azureus2.core3.util.DirectByteBuffergetBuffer()

		return( buffer );
	
protected java.lang.StringgetName()

		return( "Write: " + pieceNumber + ",off=" + offset +",len=" + buffer.remaining( DirectByteBuffer.SS_DW ));
	
public intgetOffset()

		return( offset );
	
public intgetPieceNumber()

		return( pieceNumber );
	
public java.lang.ObjectgetUserData()

		return( user_data );