Interface ISyncService
-
- All Known Implementing Classes:
CloudSynchronizer,FileSynchronizer
public interface ISyncServiceThis 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 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
-
-
-
Method Detail
-
start
void start() throws SynchronizerExceptionStart 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 SynchronizerExceptionPush 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 SynchronizerExceptionPush 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 SynchronizerExceptionPush the registration of a PXP component- Parameters:
pxpComponentInformation- the pxpComponentInformation- Throws:
SynchronizerException- in case of an error while pushing the information
-
-