public interface MasterChannel
| Modifier and Type | Method and Description |
|---|---|
ChecksumHolder |
receiveChecksums()
receives checksums from the Slave
|
void |
sendData(long bytes,
ByteChannel source,
int index)
Send data: the given number of data bytes from the input
stream should be sent to the slave, followed by the index of
the matching block
|
void |
shutdown()
shutdown the channel
|
ChecksumHolder receiveChecksums() throws IOException
IOExceptionvoid sendData(long bytes,
ByteChannel source,
int index)
throws IOException
bytes - - number of bytes to sendsource - - the channel to read fromindex - - the index of a matching blockIOExceptionvoid shutdown()
throws IOException
IOExceptionCopyright © 2010–2016 UNICORE. All rights reserved.