Interface ISyncService
-
- All Known Implementing Classes:
CloudSynchronizer
,FileSynchronizer
public interface ISyncService
This interface encapsulates the synchronization of policies, timers and componentInformation. The Service needs to be configured before calling any of the methods declared in this interface. The local PDP will start in failureMode when there is a ISyncService. It is therefore the obligation of any ISyncService implementation to deactivate the failureMode when the initial sync completed successfully.
-
-
Method Summary
All Methods Instance Methods Abstract 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
-
-
-
Method Detail
-
start
void start() throws SynchronizerException
Start synchronization- Throws:
SynchronizerException
- in case of an error while starting the synchronization
-
stop
void stop() throws SynchronizerException
Stop synchronization- Throws:
SynchronizerException
- in case of an error while stopping the synchronization
-
pushPep
void pushPep(de.fraunhofer.iese.mydata.component.information.PepComponentInformation pepComponentInformation) throws SynchronizerException
Push the registration of a PEP component- Parameters:
pepComponentInformation
- the pepComponentInformation- Throws:
SynchronizerException
- in case of an error while pushing the information
-
pushPip
void pushPip(de.fraunhofer.iese.mydata.component.information.PipComponentInformation pipComponentInformation) throws SynchronizerException
Push the registration of a PIP component- Parameters:
pipComponentInformation
- the pipComponentInformation- Throws:
SynchronizerException
- in case of an error while pushing the information
-
pushPxp
void pushPxp(de.fraunhofer.iese.mydata.component.information.PxpComponentInformation pxpComponentInformation) throws SynchronizerException
Push the registration of a PXP component- Parameters:
pxpComponentInformation
- the pxpComponentInformation- Throws:
SynchronizerException
- in case of an error while pushing the information
-
-