public class SocketSlaveChannel extends Object implements SlaveChannel
Constructor and Description |
---|
SocketSlaveChannel(Socket socket) |
Modifier and Type | Method and Description |
---|---|
RsyncData |
receive()
receive a rsync data item (literal diff data plus block reference)
|
void |
sendToMaster(List<Long> weakChecksums,
List<byte[]> strongChecksums,
int blocksize)
sends the Slave's checksums to the Master
|
public SocketSlaveChannel(Socket socket)
public void sendToMaster(List<Long> weakChecksums, List<byte[]> strongChecksums, int blocksize) throws IOException
SlaveChannel
sendToMaster
in interface SlaveChannel
IOException
public RsyncData receive() throws IOException
SlaveChannel
receive
in interface SlaveChannel
IOException
Copyright © 2010–2016 UNICORE. All rights reserved.