Uploaded image for project: 'Realm Core'
  1. Realm Core
  2. RCORE-1370

Update post() and DeadlineTimer to use void(Status) for handler callbacks

This issue belongs to an archived project. You can view it, but you can't modify it. Learn more

XMLWordPrintableJSON

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Unknown Unknown
    • None
    • Affects Version/s: None
    • Component/s: Sync
    • None

      Currently in network::Service, post() takes a void() function handler and DeadlineTimer takes a void(std::error_code ec) function handler - update both of these so they use void(realm::Status) for the function handler to match the changes in SyncSocketProvider.

      This will require changes to the Server and the DefaultSocketFactory classes as well.

      In the case of post() the value provided to the function handler will likely always be Status::OK(), but may need to be updated if there is a way to cancel any pending event loop tasks.

            Assignee:
            michael.wilkersonbarker@mongodb.com Michael Wilkerson-Barker (Inactive)
            Reporter:
            michael.wilkersonbarker@mongodb.com Michael Wilkerson-Barker (Inactive)
            Archiver:
            marc.greenfield@mongodb.com Marc Greenfield

              Created:
              Updated:
              Archived: