| 33 | using std::string; |
| 34 | |
| 35 | TSimpleServer::TSimpleServer(const shared_ptr<TProcessorFactory>& processorFactory, |
| 36 | const shared_ptr<TServerTransport>& serverTransport, |
| 37 | const shared_ptr<TTransportFactory>& transportFactory, |
| 38 | const shared_ptr<TProtocolFactory>& protocolFactory) |
| 39 | : TServerFramework(processorFactory, serverTransport, transportFactory, protocolFactory) { |
| 40 | TServerFramework::setConcurrentClientLimit(1); |
| 41 | } |
| 42 | |
| 43 | TSimpleServer::TSimpleServer(const shared_ptr<TProcessor>& processor, |
| 44 | const shared_ptr<TServerTransport>& serverTransport, |