Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-19306

split up NetworkInterfaceASIO implementation into multiple files

    • Type: Icon: Task Task
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 3.1.6
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • Fully Compatible
    • Platform 6 07/17/15

      To make it a bit easier to work in parallel we should split the NIA implementation into separate cpp files (similar to the replication coordinator).

      Basic idea:

      1) network_interface_asio.cpp

      Contains implementation of all public methods.

      2) network_interface_asio_command.cpp

      all AsyncOp methods other than connect

      3) network_interface_asio_connection.cpp

      Contains AsyncOp::connect, and future methods for handling async DNS resolution and socket setup/teardown

      4) network_interface_asio_ssl.cpp

      Contains all aync SSL setup/teardown and integration with the SSL manager

      5) network_interface_asio_auth.cpp

      Contains async implementations of SASL, X509 and Mongo-CR. This may be split further in the future.

            Assignee:
            adam.midvidy Adam Midvidy
            Reporter:
            adam.midvidy Adam Midvidy
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: