GitHub user JonathanH-UK opened a pull request:

    https://github.com/apache/thrift/pull/663

    Thrift 3397

    2 Commits for consideration:
    5cf0334 - Changes to C# Library Code (lib/csharp/src)
    024c204 - Supporting changes to C# Test Code (lib/csharp/test)

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/JonathanH-UK/thrift THRIFT-3397

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/thrift/pull/663.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #663
    
----
commit 5cf03343aa8c84ffdfc1d5ff36653bd51bfc5ebb
Author: Jonathan Heard <[email protected]>
Date:   2015-10-26T13:09:13Z

    THRIFT-3397 Implement TProcessorFactory in C# to enable per-client 
processors
    Created TProcessorFactory interface, implemented at 
TSingletonProcessorFactory and TPrototypeProcessorFactory
    Updated TServer + implementations to use the singleton factory by default
    
    Added new cs sources to Makefile.am

commit 024c20441fd948017b9df455211f053acf86809d
Author: Jonathan Heard <[email protected]>
Date:   2015-10-26T18:15:21Z

    THRIFT-3397 Implement TProcessorFactory in C# to enable per-client 
processors - Tests
    
    Modified TestClient so it only calls Open then Close on the first new 
Transport (i.e. Client thread '-t n') instance
    
    Added a clientID counter to TestServer.cs to differntiate tests running 
concurrently from different clients.
    Added a logging delegate to TestServer.cs and refactored tests to use it 
(implemented so it automatically prefixes the clientID to the output).
    
    Program.cs (Test Client and Server) - Set windows console height to maximum 
and enlarge scrollback buffer on startup
    
    Removed testStop() method. It's unused and not in the ThriftTest.thrift spec
    
    Implemented --server-type flag or C# TestServer in line with test/README.md 
examples. Added '--processor' flag to enable selection of new 
TPrototypeProcessorFactory (--prototype OR --processor=prototype)

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to