THRIFT-3030 TThreadedServer: Property for number of clientThreads

Client: C#
Patch: Nils Hügelmann
This commit is contained in:
Jens Geyer 2015-03-07 13:18:02 +01:00
parent d6834409b4
commit c7cf379aae

View File

@ -40,6 +40,10 @@ namespace Thrift.Server
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(),