Package org.kendar.sync.client
Class SyncClientRestore
java.lang.Object
org.kendar.sync.client.BaseSyncClientProcess
org.kendar.sync.client.SyncClientRestore
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidperformRestore(TcpConnection connection, CommandLineArgs args, int maxConnections, int maxPacketSize) Performs a restore operation.Methods inherited from class org.kendar.sync.client.BaseSyncClientProcess
getTcpConnection, performSingleFileRestore, scanDirectory, transferFile
-
Constructor Details
-
SyncClientRestore
public SyncClientRestore()
-
-
Method Details
-
performRestore
public void performRestore(TcpConnection connection, CommandLineArgs args, int maxConnections, int maxPacketSize) throws IOException Performs a restore operation.- Parameters:
connection- The TCP connectionargs- The command line argumentsmaxConnections- Max connections to use for parallel transfersmaxPacketSize- Maximum packet size for transfers- Throws:
IOException- If an I/O error occurs
-