Uploaded image for project: 'Couchbase Lite'
  1. Couchbase Lite
  2. CBL-3449

Consider to replace registerWorkerHandler with a dispatch function

    XMLWordPrintable

Details

    • Task
    • Resolution: Fixed
    • Critical
    • postHelium
    • None
    • LiteCore
    • Security Level: Public
    • None

    Description

      As a message with a specific profile arrives, the Replicator handles it by method, handleConnectionMessage(). In doing it, it reads the message for the collection index, and look for the actual handler that is pre-registered with registerWorkerHandler.

      This task suggest to replace the handler map with a function that sends the message directly to individual worker to handle. 

      Attachments

        Issue Links

          Activity

            People

              The Lite The Lite
              jianmin.zhao Jianmin Zhao
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                PagerDuty