|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectsynchronization.SynchronizationService
public abstract class SynchronizationService
Field Summary | |
---|---|
(package private) SynchronizationStrategy |
syncStrategy
|
(package private) TopologyService |
topologyService
The SynchronizationService needs a list of the online devices and their connectivity information in order to synchronize changes. |
(package private) UserIO |
userIO
The SynchronizationService notifies the user about the state of files (finish synchronizing or not, problems that may occur etc). |
Constructor Summary | |
---|---|
SynchronizationService()
|
Method Summary | |
---|---|
abstract void |
pullChanges(Group group)
Pulls all changes (group or filesystem) from other online devices in the given group. |
abstract void |
synchornizeFilesystemChange(Change change)
Pushes the filesystem change to other online devices in the group. |
abstract void |
synchronizeGroupChange(Change change)
Pushes the group change to other online devices in the group. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
SynchronizationStrategy syncStrategy
TopologyService topologyService
UserIO userIO
Constructor Detail |
---|
public SynchronizationService()
Method Detail |
---|
public abstract void synchronizeGroupChange(Change change)
change
- public abstract void synchornizeFilesystemChange(Change change)
change
- public abstract void pullChanges(Group group)
group
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |