SmartSync 1.1
A C D E G H I K L M O P R S T U V

A

addEventMonitor(EventMonitor) - Method in class li.netcat.smartsync.SmartSyncClient
Adds an event monitor to the list of monitors.

C

CREATE_VERB - Static variable in class li.netcat.smartsync.Task
This verb specifies a task that creates a new file in the work directory.

D

DELETE_VERB - Static variable in class li.netcat.smartsync.Task
This verb specifies a task that deletes a file from the work directory.
doPost(HttpServletRequest, HttpServletResponse) - Method in class li.netcat.smartsync.SmartSyncServer
Responds to the request of the a SmartSyncClient.

E

equals(Object) - Method in class li.netcat.smartsync.Task
 
EventMonitor - interface li.netcat.smartsync.EventMonitor.
The EventMonitor is the interface to a plugable mechanism to monitor all the events that occur during the synchronization process.

G

getCompletedFiles() - Method in class li.netcat.smartsync.TransferProgress
Returns the number of completed files that caused network traffic.
getCompletedTraffic() - Method in class li.netcat.smartsync.TransferProgress
Returns the completed traffic in byte.
getCompressionFlag() - Method in class li.netcat.smartsync.SmartSyncClient
Returns the compression flag.
getFullName() - Method in class li.netcat.smartsync.Task
Returns the full name of the associated file (with path).
getMode() - Method in class li.netcat.smartsync.SmartSyncClient
Returns the operation mode of the client.
getName() - Method in class li.netcat.smartsync.Task
Returns the name of the associated file without the path.
getPath() - Method in class li.netcat.smartsync.Task
Returns the path of the associated file.
getProgress() - Method in class li.netcat.smartsync.TransferProgress
Returns the overall progress
getRemainingFiles() - Method in class li.netcat.smartsync.TransferProgress
Returns the number of remaining files that will cause network traffic.
getRemainingTime() - Method in class li.netcat.smartsync.TransferProgress
Returns the estimated remaining time to complete all tasks measured in sec.
getRemainingTraffic() - Method in class li.netcat.smartsync.TransferProgress
Returns the remining traffic in byte.
getTaskSummaryFlag() - Method in class li.netcat.smartsync.SmartSyncClient
Returns the task summary flag.
getTotalFiles() - Method in class li.netcat.smartsync.TransferProgress
Returns the total number of files that cause network traffic.
getTotalTraffic() - Method in class li.netcat.smartsync.TransferProgress
Returns the total amount of traffic in byte.
getTransferLength() - Method in class li.netcat.smartsync.Task
Returns the number of bytes that must be transferred to complete the task.
getTransferRate() - Method in class li.netcat.smartsync.TransferProgress
Returns the estimated transferrate measured in bit/s.
getVerb() - Method in class li.netcat.smartsync.Task
Returns the verb of the task, i.e. one of the constants *_VERB.
getVersion() - Static method in class li.netcat.smartsync.Version
Returns the version string of this product.

H

hashCode() - Method in class li.netcat.smartsync.Task
 

I

isTransferTask() - Method in class li.netcat.smartsync.Task
Returns true, if this task is a transfer task, i.e. data of the file content must be transferred to complete the operation.

K

KEEP_VERB - Static variable in class li.netcat.smartsync.Task
This verb specifies a task that copies a file from the archive directory to the work directory.

L

li.netcat.smartsync - package li.netcat.smartsync
Provides all relevant classes for SmartSync.

M

main(String[]) - Static method in class li.netcat.smartsync.Version
Prints the version of this product to the standard output.
MODE_ARCHIVE - Static variable in class li.netcat.smartsync.SmartSyncClient
The archive mode causes the client to create a temporary directory for the update, and then rename the target directory to *_old and rename the temporary directory to the target.
MODE_DIRECT - Static variable in class li.netcat.smartsync.SmartSyncClient
The direct mode causes the client to operate directly on the target directory
MODE_EXTERNAL - Static variable in class li.netcat.smartsync.SmartSyncClient
This mode is used when the whole java virtual machine is also part of the target directory.

O

onAbortCheck() - Method in interface li.netcat.smartsync.EventMonitor
Checks for abortion of the operation.
onIOException(IOException, Task) - Method in interface li.netcat.smartsync.EventMonitor
This callback is used to inform the target about an input/output problem.
onProgress(TransferProgress) - Method in interface li.netcat.smartsync.EventMonitor
This method gets called upon transfer progress.
onStart(URL, File) - Method in interface li.netcat.smartsync.EventMonitor
This method is called immediately after the start of the synchronization by SmartSyncClient.synchronize(...).
onSuccess(boolean) - Method in interface li.netcat.smartsync.EventMonitor
This callback is used the after successful completion of the synchronization process.
onTaskAnnounce(Task) - Method in interface li.netcat.smartsync.EventMonitor
This method gets called when the header of the response has arrived from the server and when there are some tasks to do.
onTaskCompletion(Task) - Method in interface li.netcat.smartsync.EventMonitor
This method gets called immediately after a task has comleted.
onTaskStart(Task) - Method in interface li.netcat.smartsync.EventMonitor
This method gets called immediately before a task starts.

P

ProtocolMismatchException - exception li.netcat.smartsync.ProtocolMismatchException.
This exception is thrown when the protocol is out of sync.
ProtocolMismatchException(String) - Constructor for class li.netcat.smartsync.ProtocolMismatchException
Constructs a new instance of a ProtocolMismatchException with the given string as message.

R

removeEventMonitor(EventMonitor) - Method in class li.netcat.smartsync.SmartSyncClient
Removes an event monitor from the list of monitors.
RESUMECREATE_VERB - Static variable in class li.netcat.smartsync.Task
This verb specifies a task that resumes the creation of a new file in the work directory.
RESUMEKEEP_VERB - Static variable in class li.netcat.smartsync.Task
This verb specifies a task that resumes the copy of a file from the archive directory to the work directory.

S

setCompressionFlag(boolean) - Method in class li.netcat.smartsync.SmartSyncClient
Sets the compression flag.
setMode(int) - Method in class li.netcat.smartsync.SmartSyncClient
Sets the operation mode of the client.
setTaskSummaryFlag(boolean) - Method in class li.netcat.smartsync.SmartSyncClient
Sets the task summary flag.
SmartSyncClient - class li.netcat.smartsync.SmartSyncClient.
This is the main entry point to SmartSync from the clients point of view.
SmartSyncClient() - Constructor for class li.netcat.smartsync.SmartSyncClient
Constructs a new instance of a SmartSyncClient and sets all properties to it's initial default.
SmartSyncServer - class li.netcat.smartsync.SmartSyncServer.
The SmartSyncServer is a standard HttpServlet that is capable of responding to the clients requests.
SmartSyncServer() - Constructor for class li.netcat.smartsync.SmartSyncServer
 
synchronize(URL, File) - Method in class li.netcat.smartsync.SmartSyncClient
Synchronizes the given local directory with the given remote resource.

T

Task - class li.netcat.smartsync.Task.
Immutable class, that represents an operation.
toString() - Method in class li.netcat.smartsync.Task
 
TransferProgress - class li.netcat.smartsync.TransferProgress.
Immutable class that represents the current transfer progress of the synchronization.
TransferProgress(int, int, long, long, long, int) - Constructor for class li.netcat.smartsync.TransferProgress
Constructs and initializes a new instance of a TransferProgress object.

U

UserAbortIOException - exception li.netcat.smartsync.UserAbortIOException.
This exception is thrown by an EventMonitor when the user wants to abort the synchornisation process.
UserAbortIOException() - Constructor for class li.netcat.smartsync.UserAbortIOException
Constructs a new UserAbortIOException with a default message.
UserAbortIOException(String) - Constructor for class li.netcat.smartsync.UserAbortIOException
Constructs a new UserAbortIOException with the given message.

V

Version - class li.netcat.smartsync.Version.
Provides the version string for this product.
Version() - Constructor for class li.netcat.smartsync.Version
 

A C D E G H I K L M O P R S T U V
SmartSync 1.1

Copyright © 2003 NetCat AG. All rights reserved. Feedback

keywords:java, net, servlet, synchronize, file, files, synchronize data, synchronize directory, synchronize files, synchronize files over HTTP, synchronize tree, file synchronizer, directory synchronizer, directory, directory structure, network, download, package, equalize, equalize, server, synchronise, file, files, synchronise data, synchronise directory, synchronise files, synchronise files over HTTP, synchronise tree, file synchroniser, file synchronisation, directory synchroniser, directory synchronisation, java, net, servlet, synchronize, file, files, synchronize data, synchronize directory, synchronize files, synchronize files over HTTP, synchronize tree, file synchronizer, directory synchronizer, directory, directory structure, network, download, package, equalize, equalize, server, synchronise, file, files, synchronise data, synchronise directory, synchronise files, synchronise files over HTTP, synchronise tree, file synchroniser, file synchronisation, directory synchroniser, directory synchronisation, java, net, servlet, synchronize, file, files, synchronize data, synchronize directory, synchronize files, synchronize files over HTTP, synchronize tree, file synchronizer, directory synchronizer, directory, directory structure, network, download, package, equalize, equalize, server, synchronise, file, files, synchronise data, synchronise directory, synchronise files, synchronise files over HTTP, synchronise tree, file synchroniser, file synchronisation, directory synchroniser, directory synchronisation