Uploaded image for project: 'Thrift'
  1. Thrift
  2. THRIFT-1305

thrift: make TConnection a private inner class of

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 0.8
    • C++ - Library
    • None

    Description

      From 1f203754d8e9eb3e509cd874f6e5824eeaf5aa34 Mon Sep 17 00:00:00 2001
      From: Adam Simpkins <simpkins@fb.com>
      Date: Mon, 19 Apr 2010 19:09:13 +0000
      Subject: [PATCH 24/33] thrift: make TConnection a private inner class of
      TNonblockingServer

      Summary:
      The immediate need for this is so that TConnection can access some
      protected methods of TNonblockingServer. However, it
      seems a generally good thing to eliminate TConnection from the publicly
      exposed API.

      Test Plan:
      Ran the tests from [fb unittest].

      Revert Plan:
      OK

      Conflicts:

      lib/cpp/src/server/TNonblockingServer.cpp
      lib/cpp/src/server/TNonblockingServer.h

      lib/cpp/src/server/TNonblockingServer.cpp | 301 +++++++++++++++++++++++++++--
      lib/cpp/src/server/TNonblockingServer.h | 275 +--------------------------
      2 files changed, 291 insertions, 285 deletions

      Attachments

        1. 0024-thrift-make-TConnection-a-private-inner-class-of-TNo.patch
          19 kB
          Dave Watson
        2. thrift-1305-2.patch
          3 kB
          alexandre parenteau

        Activity

          People

            davejwatson@fb Dave Watson
            davejwatson@fb Dave Watson
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: