Navigation

    Kopano
    • Register
    • Login
    • Search
    • Categories
    • Get Official Kopano Support
    • Recent
    Statement regarding the closure of the Kopano community forum and the end of the community edition

    Custom backend without DiffEngine

    Z-Push when using other backends
    2
    2
    358
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • magicbelette
      magicbelette last edited by

      Hi,

      I already use combined backend + “DiffEngine” for a couple of year now to synchronize PIM data from a database + emails from IMAP.

      It works great except for the RAM consumption. So, I’m planning to abandon the “DiffEngine” for something else. I can retrieve a list of changes since the last check for PIM data (from my database) and emails (from IMAP + MODSEQ).

      Any help, hints would be really appreciated :)
      thx

      1 Reply Last reply Reply Quote 0
      • Manfred
        Manfred Kopano last edited by

        Hi magicbelette,

        what you have to do is to implement IBackend and ISearchProvider interfaces like the Kopano backend does which doesn’t extend the DiffBackend. Your exporter class (or your backend if you want to keep it in one place) has to implement IExportChanges interface (changes in your system to mobile). Your importer class (or your backend if you want to keep it in one place) has to implement IImportChanges interface (changes on the mobile to your system).

        BackendCombined and BackendKopano might give you some ideas for the exporter/importer usage and how to move away from the DiffBackend.

        Manfred

        1 Reply Last reply Reply Quote 0
        • First post
          Last post