THRIFT-3030 TThreadedServer: Property for number of clientThreads
Client: C#
Patch: Nils Hügelmann
diff --git a/lib/csharp/src/Server/TThreadedServer.cs b/lib/csharp/src/Server/TThreadedServer.cs
index a09337c..f8ed8e2 100644
--- a/lib/csharp/src/Server/TThreadedServer.cs
+++ b/lib/csharp/src/Server/TThreadedServer.cs
@@ -40,6 +40,10 @@
private object clientLock;
private Thread workerThread;
+ public int ClientThreadsCount {
+ get { return clientThreads.Count; }
+ }
+
public TThreadedServer(TProcessor processor, TServerTransport serverTransport)
: this(processor, serverTransport,
new TTransportFactory(), new TTransportFactory(),