Package org.kendar.sync.client
Class SyncClientRestore
java.lang.Object
org.kendar.sync.client.BaseSyncClientProcess<SyncClientRestore>
org.kendar.sync.client.SyncClientRestore
-
Field Summary
Fields inherited from class org.kendar.sync.client.BaseSyncClientProcess
executorService -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidperformRestore(TcpConnection connection, CommandLineArgs args, int maxConnections, int maxPacketSize, boolean ignoreSystemFiles, boolean ignoreHiddenFiles, List<String> patternsToIgnore) Performs a restore operation.Methods inherited from class org.kendar.sync.client.BaseSyncClientProcess
close, getTcpConnection, isRunning, performSingleFileRestore, scanDirectory, setCheckRunning, transferFile
-
Constructor Details
-
SyncClientRestore
public SyncClientRestore()
-
-
Method Details
-
performRestore
public void performRestore(TcpConnection connection, CommandLineArgs args, int maxConnections, int maxPacketSize, boolean ignoreSystemFiles, boolean ignoreHiddenFiles, List<String> patternsToIgnore) 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
-