Home
last modified time | relevance | path

Searched refs:protocolFactory (Results 1 – 6 of 6) sorted by relevance

/Zephyr-latest/samples/modules/thrift/hello/server/src/
Dmain.cpp73 std::shared_ptr<TProtocolFactory> protocolFactory; in main() local
112 protocolFactory = std::make_shared<TCompactProtocolFactory>(); in main()
114 protocolFactory = std::make_shared<TBinaryProtocolFactory>(); in main()
117 TSimpleServer server(processor, serverTransport, transportFactory, protocolFactory); in main()
/Zephyr-latest/tests/modules/thrift/ThriftTest/src/
Dmain.cpp92 std::shared_ptr<TProtocolFactory> protocolFactory; in setup_server() local
108 protocolFactory = std::make_shared<TCompactProtocolFactory>(); in setup_server()
110 protocolFactory = std::make_shared<TBinaryProtocolFactory>(); in setup_server()
112 TSimpleServer server(processor, serverTransport, transportFactory, protocolFactory); in setup_server()
114 new TSimpleServer(processor, serverTransport, transportFactory, protocolFactory)); in setup_server()
/Zephyr-latest/modules/thrift/src/thrift/server/
DTServer.h222 const std::shared_ptr<TProtocolFactory> &protocolFactory) in TServer() argument
225 outputTransportFactory_(transportFactory), inputProtocolFactory_(protocolFactory), in TServer()
226 outputProtocolFactory_(protocolFactory) in TServer()
233 const std::shared_ptr<TProtocolFactory> &protocolFactory) in TServer() argument
236 outputTransportFactory_(transportFactory), inputProtocolFactory_(protocolFactory), in TServer()
237 outputProtocolFactory_(protocolFactory) in TServer()
DTServerFramework.cpp52 const shared_ptr<TProtocolFactory> &protocolFactory) in TServerFramework() argument
53 : TServer(processorFactory, serverTransport, transportFactory, protocolFactory), in TServerFramework()
61 const shared_ptr<TProtocolFactory> &protocolFactory) in TServerFramework() argument
62 : TServer(processor, serverTransport, transportFactory, protocolFactory), clients_(0), in TServerFramework()
DTSimpleServer.h50 const std::shared_ptr<apache::thrift::protocol::TProtocolFactory> &protocolFactory);
57 const std::shared_ptr<apache::thrift::protocol::TProtocolFactory> &protocolFactory);
DTServerFramework.h63 const std::shared_ptr<apache::thrift::protocol::TProtocolFactory> &protocolFactory);
70 const std::shared_ptr<apache::thrift::protocol::TProtocolFactory> &protocolFactory);