Class FileSynchronizer
- java.lang.Object
-
- de.fraunhofer.iese.mydata.pmp.synchronizer.FileSynchronizer
-
- All Implemented Interfaces:
ISyncService
public class FileSynchronizer extends Object implements ISyncService
-
-
Field Summary
Fields Modifier and Type Field Description static String
FILE_SYNC_THREAD_NAME
-
Constructor Summary
Constructors Constructor Description FileSynchronizer(String path, de.fraunhofer.iese.mydata.timer.ITimerService localTimerService, de.fraunhofer.iese.mydata.policy.IPolicyService localPolicyService, de.fraunhofer.iese.mydata.component.interfaces.IPolicyDecisionPoint localPdp)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
pushPep(de.fraunhofer.iese.mydata.component.information.PepComponentInformation pepComponentInformation)
Push the registration of a PEP componentvoid
pushPip(de.fraunhofer.iese.mydata.component.information.PipComponentInformation pipComponentInformation)
Push the registration of a PIP componentvoid
pushPxp(de.fraunhofer.iese.mydata.component.information.PxpComponentInformation pxpComponentInformation)
Push the registration of a PXP componentvoid
start()
Start synchronizationvoid
stop()
Stop synchronization
-
-
-
Field Detail
-
FILE_SYNC_THREAD_NAME
public static final String FILE_SYNC_THREAD_NAME
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
FileSynchronizer
public FileSynchronizer(String path, de.fraunhofer.iese.mydata.timer.ITimerService localTimerService, de.fraunhofer.iese.mydata.policy.IPolicyService localPolicyService, de.fraunhofer.iese.mydata.component.interfaces.IPolicyDecisionPoint localPdp)
-
-
Method Detail
-
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
public void pushPep(de.fraunhofer.iese.mydata.component.information.PepComponentInformation pepComponentInformation)
Description copied from interface:ISyncService
Push the registration of a PEP component- Specified by:
pushPep
in interfaceISyncService
- Parameters:
pepComponentInformation
- the pepComponentInformation
-
pushPip
public void pushPip(de.fraunhofer.iese.mydata.component.information.PipComponentInformation pipComponentInformation)
Description copied from interface:ISyncService
Push the registration of a PIP component- Specified by:
pushPip
in interfaceISyncService
- Parameters:
pipComponentInformation
- the pipComponentInformation
-
pushPxp
public void pushPxp(de.fraunhofer.iese.mydata.component.information.PxpComponentInformation pxpComponentInformation)
Description copied from interface:ISyncService
Push the registration of a PXP component- Specified by:
pushPxp
in interfaceISyncService
- Parameters:
pxpComponentInformation
- the pxpComponentInformation
-
-