org.alliance.core.comm.filetransfers
Class CompleteFileBlockProvider
java.lang.Object
org.alliance.core.comm.filetransfers.BlockProvider
org.alliance.core.comm.filetransfers.CompleteFileBlockProvider
- All Implemented Interfaces:
- DataProvider
public class CompleteFileBlockProvider
- extends BlockProvider
Created by IntelliJ IDEA.
User: maciek
Date: 2006-jan-26
Time: 21:15:42
To change this template use File | Settings | File Templates.
|
Field Summary |
protected java.nio.channels.FileChannel |
fileChannel
|
|
Method Summary |
int |
fill(java.nio.ByteBuffer buf)
|
void |
updateRead(int read)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
fileChannel
protected java.nio.channels.FileChannel fileChannel
CompleteFileBlockProvider
public CompleteFileBlockProvider(int blockNumber,
Hash root,
CoreSubsystem core)
throws java.io.IOException
- Throws:
java.io.IOException
fill
public int fill(java.nio.ByteBuffer buf)
throws java.io.IOException
- Throws:
java.io.IOException
updateRead
public void updateRead(int read)
throws java.io.IOException
- Throws:
java.io.IOException