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 StringFILE_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 voidpushPep(de.fraunhofer.iese.mydata.component.information.PepComponentInformation pepComponentInformation)Push the registration of a PEP componentvoidpushPip(de.fraunhofer.iese.mydata.component.information.PipComponentInformation pipComponentInformation)Push the registration of a PIP componentvoidpushPxp(de.fraunhofer.iese.mydata.component.information.PxpComponentInformation pxpComponentInformation)Push the registration of a PXP componentvoidstart()Start synchronizationvoidstop()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:ISyncServiceStart synchronization- Specified by:
startin interfaceISyncService
-
stop
public void stop()
Description copied from interface:ISyncServiceStop synchronization- Specified by:
stopin interfaceISyncService
-
pushPep
public void pushPep(de.fraunhofer.iese.mydata.component.information.PepComponentInformation pepComponentInformation)
Description copied from interface:ISyncServicePush the registration of a PEP component- Specified by:
pushPepin interfaceISyncService- Parameters:
pepComponentInformation- the pepComponentInformation
-
pushPip
public void pushPip(de.fraunhofer.iese.mydata.component.information.PipComponentInformation pipComponentInformation)
Description copied from interface:ISyncServicePush the registration of a PIP component- Specified by:
pushPipin interfaceISyncService- Parameters:
pipComponentInformation- the pipComponentInformation
-
pushPxp
public void pushPxp(de.fraunhofer.iese.mydata.component.information.PxpComponentInformation pxpComponentInformation)
Description copied from interface:ISyncServicePush the registration of a PXP component- Specified by:
pushPxpin interfaceISyncService- Parameters:
pxpComponentInformation- the pxpComponentInformation
-
-