mirror of
https://github.com/valitydev/thrift.git
synced 2024-11-07 02:45:22 +00:00
THRIFT-3030 TThreadedServer: Property for number of clientThreads
Client: C# Patch: Nils Hügelmann
This commit is contained in:
parent
d6834409b4
commit
c7cf379aae
@ -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(),
|
||||
|
Loading…
Reference in New Issue
Block a user