public class LocalChannel extends Object implements SlaveChannel, MasterChannel
Modifier and Type | Class and Description |
---|---|
static class |
LocalChannel.ByteArrayChannel |
Modifier and Type | Field and Description |
---|---|
protected boolean |
closed |
Constructor and Description |
---|
LocalChannel(boolean dryRun) |
Modifier and Type | Method and Description |
---|---|
RsyncData |
receive() |
ChecksumHolder |
receiveChecksums() |
void |
sendData(long bytes,
ByteChannel source,
int blockIndex) |
void |
sendToMaster(List<Long> weakChecksums,
List<byte[]> strongChecksums,
int blocksize) |
void |
shutdown() |
public void sendToMaster(List<Long> weakChecksums, List<byte[]> strongChecksums, int blocksize) throws IOException
sendToMaster
in interface SlaveChannel
IOException
public RsyncData receive() throws IOException
receive
in interface SlaveChannel
IOException
public ChecksumHolder receiveChecksums()
receiveChecksums
in interface MasterChannel
public void sendData(long bytes, ByteChannel source, int blockIndex) throws IOException
sendData
in interface MasterChannel
IOException
public void shutdown() throws IOException
shutdown
in interface MasterChannel
IOException
Copyright © 2010–2016 UNICORE. All rights reserved.