Home
last modified time | relevance | path

Searched refs:thrift (Results 1 – 25 of 34) sorted by relevance

12

/Zephyr-latest/modules/thrift/src/thrift/server/
DTSimpleServer.h32 namespace thrift
46 const std::shared_ptr<apache::thrift::TProcessorFactory> &processorFactory,
47 const std::shared_ptr<apache::thrift::transport::TServerTransport> &serverTransport,
48 const std::shared_ptr<apache::thrift::transport::TTransportFactory>
50 const std::shared_ptr<apache::thrift::protocol::TProtocolFactory> &protocolFactory);
53 const std::shared_ptr<apache::thrift::TProcessor> &processor,
54 const std::shared_ptr<apache::thrift::transport::TServerTransport> &serverTransport,
55 const std::shared_ptr<apache::thrift::transport::TTransportFactory>
57 const std::shared_ptr<apache::thrift::protocol::TProtocolFactory> &protocolFactory);
60 const std::shared_ptr<apache::thrift::TProcessorFactory> &processorFactory,
[all …]
DTServerFramework.h38 namespace thrift
59 const std::shared_ptr<apache::thrift::TProcessorFactory> &processorFactory,
60 const std::shared_ptr<apache::thrift::transport::TServerTransport> &serverTransport,
61 const std::shared_ptr<apache::thrift::transport::TTransportFactory>
63 const std::shared_ptr<apache::thrift::protocol::TProtocolFactory> &protocolFactory);
66 const std::shared_ptr<apache::thrift::TProcessor> &processor,
67 const std::shared_ptr<apache::thrift::transport::TServerTransport> &serverTransport,
68 const std::shared_ptr<apache::thrift::transport::TTransportFactory>
70 const std::shared_ptr<apache::thrift::protocol::TProtocolFactory> &protocolFactory);
73 const std::shared_ptr<apache::thrift::TProcessorFactory> &processorFactory,
[all …]
DTConnectedClient.h36 namespace thrift
61 const std::shared_ptr<apache::thrift::TProcessor> &processor,
62 const std::shared_ptr<apache::thrift::protocol::TProtocol> &inputProtocol,
63 const std::shared_ptr<apache::thrift::protocol::TProtocol> &outputProtocol,
64 const std::shared_ptr<apache::thrift::server::TServerEventHandler> &eventHandler,
65 const std::shared_ptr<apache::thrift::transport::TTransport> &client);
104 std::shared_ptr<apache::thrift::TProcessor> processor_;
105 std::shared_ptr<apache::thrift::protocol::TProtocol> inputProtocol_;
106 std::shared_ptr<apache::thrift::protocol::TProtocol> outputProtocol_;
107 std::shared_ptr<apache::thrift::server::TServerEventHandler> eventHandler_;
[all …]
DTServerFramework.cpp33 namespace thrift namespace
39 using apache::thrift::protocol::TProtocol;
40 using apache::thrift::protocol::TProtocolFactory;
41 using apache::thrift::transport::TServerTransport;
42 using apache::thrift::transport::TTransport;
43 using apache::thrift::transport::TTransportException;
44 using apache::thrift::transport::TTransportFactory;
DTServer.h36 namespace thrift
41 using apache::thrift::TProcessor;
42 using apache::thrift::protocol::TBinaryProtocolFactory;
43 using apache::thrift::protocol::TProtocol;
44 using apache::thrift::protocol::TProtocolFactory;
45 using apache::thrift::transport::TServerTransport;
46 using apache::thrift::transport::TTransport;
47 using apache::thrift::transport::TTransportFactory;
DTFDServer.h17 namespace thrift
/Zephyr-latest/modules/thrift/
DCMakeLists.txt15 src/thrift/server/TFDServer.cpp
16 ${ZEPHYR_THRIFT_MODULE_DIR}/lib/cpp/src/thrift/protocol/TProtocol.cpp
17 ${ZEPHYR_THRIFT_MODULE_DIR}/lib/cpp/src/thrift/server/TConnectedClient.cpp
18 ${ZEPHYR_THRIFT_MODULE_DIR}/lib/cpp/src/thrift/server/TSimpleServer.cpp
19 ${ZEPHYR_THRIFT_MODULE_DIR}/lib/cpp/src/thrift/transport/SocketCommon.cpp
20 ${ZEPHYR_THRIFT_MODULE_DIR}/lib/cpp/src/thrift/transport/TBufferTransports.cpp
21 ${ZEPHYR_THRIFT_MODULE_DIR}/lib/cpp/src/thrift/transport/TFDTransport.cpp
22 ${ZEPHYR_THRIFT_MODULE_DIR}/lib/cpp/src/thrift/transport/TTransportException.cpp
23 ${ZEPHYR_THRIFT_MODULE_DIR}/lib/cpp/src/thrift/transport/TServerSocket.cpp
24 ${ZEPHYR_THRIFT_MODULE_DIR}/lib/cpp/src/thrift/transport/TSocket.cpp
[all …]
/Zephyr-latest/tests/modules/thrift/ThriftTest/src/
Dclient.cpp18 using namespace apache::thrift;
24 ZTEST(thrift, test_void) in ZTEST() argument
29 ZTEST(thrift, test_string) in ZTEST() argument
36 ZTEST(thrift, test_bool) in ZTEST() argument
42 ZTEST(thrift, test_byte) in ZTEST() argument
52 ZTEST(thrift, test_i32) in ZTEST() argument
62 ZTEST(thrift, test_i64) in ZTEST() argument
72 ZTEST(thrift, test_double) in ZTEST() argument
83 ZTEST(thrift, test_binary) in ZTEST() argument
95 ZTEST(thrift, test_struct) in ZTEST() argument
[all …]
Dcontext.hpp18 using namespace apache::thrift::server;
19 using namespace thrift::test;
Dmain.cpp24 using namespace apache::thrift;
25 using namespace apache::thrift::protocol;
26 using namespace apache::thrift::transport;
172 ZTEST_SUITE(thrift, NULL, thrift_test_setup, thrift_test_before, thrift_test_after, NULL);
Dserver.hpp20 using namespace apache::thrift;
21 using namespace apache::thrift::transport;
22 using namespace thrift::test;
282 apache::thrift::TException e; in testException()
/Zephyr-latest/samples/modules/thrift/hello/client/
DCMakeLists.txt12 include(${ZEPHYR_BASE}/modules/thrift/cmake/thrift.cmake)
21 thrift(
26 ${ZEPHYR_BASE}/samples/modules/thrift/hello/hello.thrift
41 ${ZEPHYR_BASE}/samples/modules/thrift/hello/qemu-cert.pem
47 ${ZEPHYR_BASE}/samples/modules/thrift/hello/qemu-key.pem
53 ${ZEPHYR_BASE}/samples/modules/thrift/hello/native-cert.pem
59 ${ZEPHYR_BASE}/samples/modules/thrift/hello/native-key.pem
DMakefile17 THRIFT_FLAGS += $(shell pkg-config --cflags thrift)
27 THRIFT_LIBS = $(shell pkg-config --libs thrift)
31 hello_client.stamp: ../hello.thrift
32 thrift --gen cpp:no_skeleton $<
49 hello_client_py.stamp: ../hello.thrift
50 thrift --gen py $<
Dhello_client.py21 from thrift.protocol import TBinaryProtocol
22 from thrift.transport import TSocket, TTransport
/Zephyr-latest/samples/modules/thrift/hello/server/
DCMakeLists.txt12 include(${ZEPHYR_BASE}/modules/thrift/cmake/thrift.cmake)
21 thrift(
26 ${ZEPHYR_BASE}/samples/modules/thrift/hello/hello.thrift
41 ${ZEPHYR_BASE}/samples/modules/thrift/hello/qemu-cert.pem
47 ${ZEPHYR_BASE}/samples/modules/thrift/hello/qemu-key.pem
53 ${ZEPHYR_BASE}/samples/modules/thrift/hello/native-cert.pem
59 ${ZEPHYR_BASE}/samples/modules/thrift/hello/native-key.pem
DMakefile17 THRIFT_FLAGS += $(shell pkg-config --cflags thrift)
28 THRIFT_LIBS = $(shell pkg-config --libs thrift)
32 hello_server.stamp: ../hello.thrift
33 thrift --gen cpp:no_skeleton $<
/Zephyr-latest/modules/thrift/cmake/
Dthrift.cmake4 find_program(THRIFT_EXECUTABLE thrift)
6 message(FATAL_ERROR "The 'thrift' command was not found")
9 function(thrift function
15 source_file # The .thrift source file
16 options # Additional thrift options
34 ${target} PRIVATE ${ZEPHYR_BASE}/modules/thrift/src
/Zephyr-latest/tests/modules/thrift/ThriftTest/
DCMakeLists.txt10 include(${ZEPHYR_BASE}/modules/thrift/cmake/thrift.cmake)
28 thrift(
33 # v0.16: ubuntu packaged thrift compiler does not support 'uuid' type
34 "${THRIFT_UPSTREAM}/test/v0.16/ThriftTest.thrift"
49 ${ZEPHYR_BASE}/samples/modules/thrift/hello/qemu-cert.pem
55 ${ZEPHYR_BASE}/samples/modules/thrift/hello/qemu-key.pem
/Zephyr-latest/samples/modules/thrift/hello/
DREADME.rst1 .. zephyr:code-sample:: thrift-hello
9 .. figure:: thrift-layers.png
25 https://github.com/apache/thrift
37 https://thrift.apache.org/static/files/thrift-20070401.pdf
46 interface described in :zephyr_file:`samples/modules/thrift/hello/hello.thrift`.
48 layers in thrift can be combined to build an application with desired features.
70 :caption: Install thrift dependencies in Ubuntu
72 sudo apt install -y libboost-all-dev thrift-compiler libthrift-dev
77 :caption: Install thrift dependencies in macOS
79 brew install boost openssl thrift
[all …]
/Zephyr-latest/samples/modules/thrift/hello/server/src/
Dmain.cpp25 using namespace ::apache::thrift;
26 using namespace ::apache::thrift::protocol;
27 using namespace ::apache::thrift::transport;
28 using namespace ::apache::thrift::server;
/Zephyr-latest/samples/modules/thrift/hello/client/src/
Dmain.cpp24 using namespace apache::thrift;
25 using namespace apache::thrift::protocol;
26 using namespace apache::thrift::transport;
/Zephyr-latest/modules/thrift/src/thrift/transport/
DThriftTLScertificateType.h10 namespace apache::thrift::transport
DTSSLServerSocket.h14 namespace thrift
/Zephyr-latest/samples/modules/thrift/
Dthrift.rst1 .. zephyr:code-sample-category:: thrift
/Zephyr-latest/modules/thrift/src/thrift/concurrency/
DMutex.cpp13 namespace thrift namespace

12