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

Normalize TServerSocketTransport constructors in netstd

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 0.13.0
    • netstd - Library
    • None

    Description

      Right now you are not able to utilize the built-in buffered or framed transport features of the current TServerSocketTransport class if you need to pass in your own TcpListener. This could be resolved by creating just two constructors using default values to replace the current six.

      {{public TServerSocketTransport(TcpListener listener, int clientTimeout = 0bool useBufferedSockets = falsebool useFramedTransport = false) }}{{public TServerSocketTransport(int port, int clientTimeout = 0bool useBufferedSockets = falsebool useFramedTransport = false) }}

      Attachments

        Issue Links

          Activity

            People

              animusblue Kyle Smith
              animusblue Kyle Smith
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 20m
                  20m