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

Fix naming of classes and files in the networking layer

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 6.3.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Service Arch
    • Fully Compatible
    • Service Arch 2022-12-26, Service Arch 2022-12-12, Service Arch 2023-01-09, Service Arch 2023-01-23, Service Arch 2023-02-06

      Some guidelines:

      • Adjectives come before nouns in both file names and class names
      • When multiple adjectives are involved, use the following approach:
        • [Specific to implementation adj.][implementation][general adj.][noun]
        • E.g. BaseASIOSession, ASIONetworkInterface
      • Files will remain within the mongo/transport directory
      • Remove Session classes from parent classes to avoid applying the same adjective to a name 2 times, and to improve separation of responsibilities between classes in the networking layer.
        • E.g. TransportLayerASIO::ASIOSession -> BaseASIOSession

            Assignee:
            matt.diener@mongodb.com Matt Diener (Inactive)
            Reporter:
            matt.diener@mongodb.com Matt Diener (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: