Allow Connection to be shared with mock server

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Fixed
    • Priority: Major - P3
    • 3.2.0
    • Affects Version/s: None
    • Component/s: Core
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      A final step for full OP_MSG support is to teach our mock server to speak the protocol. The existing OP_QUERY support in the mock server is very limited, because the implementation was copied from the driver in pieces. There are a few pieces required to realize this dream:

      • Decouple Connection from the Pool by not passing in a messageHandler to the constructor, but use a message event instead
      • Move the "connect" logic for creating and initially connection connections out of Connection into its own method, a la net.connect

            Assignee:
            Matt Broadstone
            Reporter:
            Matt Broadstone
            None
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: