Class FileSynchronizer
java.lang.Object
de.fraunhofer.iese.mydata.pmp.synchronizer.FileSynchronizer
- All Implemented Interfaces:
ISyncService
-
Field Summary
-
Constructor Summary
ConstructorDescriptionFileSynchronizer
(String path, ITimerService localTimerService, IPolicyService localPolicyService, IPolicyDecisionPoint localPdp) -
Method Summary
Modifier and TypeMethodDescriptionvoid
pushPep
(PepComponentInformation pepComponentInformation) Push the registration of a PEP componentvoid
pushPip
(PipComponentInformation pipComponentInformation) Push the registration of a PIP componentvoid
pushPxp
(PxpComponentInformation pxpComponentInformation) Push the registration of a PXP componentvoid
start()
Start synchronizationvoid
stop()
Stop synchronization
-
Field Details
-
FILE_SYNC_THREAD_NAME
- See Also:
-
-
Constructor Details
-
FileSynchronizer
public FileSynchronizer(String path, ITimerService localTimerService, IPolicyService localPolicyService, IPolicyDecisionPoint localPdp)
-
-
Method Details
-
start
public void start()Description copied from interface:ISyncService
Start synchronization- Specified by:
start
in interfaceISyncService
-
stop
public void stop()Description copied from interface:ISyncService
Stop synchronization- Specified by:
stop
in interfaceISyncService
-
pushPep
Description copied from interface:ISyncService
Push the registration of a PEP component- Specified by:
pushPep
in interfaceISyncService
- Parameters:
pepComponentInformation
- the pepComponentInformation
-
pushPip
Description copied from interface:ISyncService
Push the registration of a PIP component- Specified by:
pushPip
in interfaceISyncService
- Parameters:
pipComponentInformation
- the pipComponentInformation
-
pushPxp
Description copied from interface:ISyncService
Push the registration of a PXP component- Specified by:
pushPxp
in interfaceISyncService
- Parameters:
pxpComponentInformation
- the pxpComponentInformation
-