Home
last modified time | relevance | path

Searched full:thrift (Results 1 – 25 of 45) sorted by relevance

12

/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 …]
DKconfig7 menuconfig THRIFT config
8 bool "Support for Thrift [EXPERIMENTAL]"
15 Enable this option to support Apache Thrift
17 if THRIFT
20 bool "TSSLSocket support for Thrift"
25 Enable this option to support TSSLSocket for Thrift
27 module = THRIFT
28 module-str = THRIFT
31 endif # THRIFT
/Zephyr-latest/modules/thrift/src/thrift/server/
DTSimpleServer.h28 #include <thrift/server/TServerFramework.h>
32 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);
[all …]
DTServerFramework.h30 #include <thrift/TProcessor.h>
31 #include <thrift/server/TConnectedClient.h>
32 #include <thrift/server/TServer.h>
33 #include <thrift/transport/TServerTransport.h>
34 #include <thrift/transport/TTransport.h>
38 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);
[all …]
DTConnectedClient.h29 #include <thrift/TProcessor.h>
30 #include <thrift/protocol/TProtocol.h>
31 #include <thrift/server/TServer.h>
32 #include <thrift/transport/TTransport.h>
36 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);
[all …]
DTFDServer.h13 #include <thrift/transport/TServerTransport.h>
17 namespace thrift
49 } // namespace thrift
DTServer.h28 #include <thrift/TProcessor.h>
29 #include <thrift/protocol/TBinaryProtocol.h>
30 #include <thrift/transport/TServerTransport.h>
36 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;
[all …]
DTServerFramework.cpp29 #include <thrift/server/TServerFramework.h>
33 namespace thrift namespace
38 // using apache::thrift::concurrency::Synchronized;
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;
254 } // namespace thrift
/Zephyr-latest/samples/modules/thrift/hello/client/
Dsample.yaml2 description: Hello Thrift client sample
3 name: hello thrift client
6 - thrift
11 - thrift
19 sample.thrift.hello.client.binaryProtocol: {}
20 sample.thrift.hello.client.compactProtocol:
23 sample.thrift.hello.client.tlsTransport:
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.py6 """Thrift Hello Client Sample
9 ping(), echo(), and counter() Thrift RPC methods.
21 from thrift.protocol import TBinaryProtocol
22 from thrift.transport import TSocket, TTransport
/Zephyr-latest/samples/modules/thrift/hello/server/
Dsample.yaml2 description: Hello Thrift server sample
3 name: hello thrift server
6 - thrift
11 - thrift
19 sample.thrift.hello.server.binaryProtocol: {}
20 sample.thrift.hello.server.compactProtocol:
23 sample.thrift.hello.server.tlsTransport:
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
/Zephyr-latest/samples/modules/thrift/hello/
DREADME.rst1 .. zephyr:code-sample:: thrift-hello
2 :name: Apache Thrift Hello World
4 Implement a simple Apache Thrift client-server application.
9 .. figure:: thrift-layers.png
11 :alt: Thrift Layers
13 What is Thrift?
16 `Apache Thrift`_ is an `IDL`_ specification, `RPC`_ framework, and
18 27 programming languages, 7 protocols, and 6 low-level transports. Thrift was
20 `Apache Software Foundation`_. Thrift supports a rich set of types and data
24 .. _Apache Thrift:
[all …]
/Zephyr-latest/tests/modules/thrift/ThriftTest/
Dtestcase.yaml4 - thrift
7 - thrift
20 thrift.ThriftTest.binaryProtocol: {}
21 thrift.ThriftTest.compactProtocol:
24 thrift.ThriftTest.tlsTransport:
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/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/samples/modules/thrift/hello/server/src/
Dmain.cpp14 #include <thrift/protocol/TBinaryProtocol.h>
15 #include <thrift/protocol/TCompactProtocol.h>
16 #include <thrift/server/TSimpleServer.h>
17 #include <thrift/transport/TBufferTransports.h>
18 #include <thrift/transport/TSSLServerSocket.h>
19 #include <thrift/transport/TSSLSocket.h>
20 #include <thrift/transport/TServerSocket.h>
25 using namespace ::apache::thrift;
26 using namespace ::apache::thrift::protocol;
27 using namespace ::apache::thrift::transport;
[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 …]
Dmain.cpp11 #include <thrift/protocol/TBinaryProtocol.h>
12 #include <thrift/protocol/TCompactProtocol.h>
13 #include <thrift/server/TSimpleServer.h>
14 #include <thrift/transport/TBufferTransports.h>
15 #include <thrift/transport/TFDTransport.h>
16 #include <thrift/transport/TSSLServerSocket.h>
17 #include <thrift/transport/TSSLSocket.h>
18 #include <thrift/transport/TServerSocket.h>
22 #include "thrift/server/TFDServer.h"
24 using namespace apache::thrift;
[all …]
Dcontext.hpp14 #include <thrift/server/TSimpleServer.h>
18 using namespace apache::thrift::server;
19 using namespace thrift::test;
/Zephyr-latest/samples/modules/thrift/
Dthrift.rst1 .. zephyr:code-sample-category:: thrift
2 :name: Apache Thrift
5 These samples demonstrate how to use Apache Thrift in Zephyr.
/Zephyr-latest/samples/modules/thrift/hello/client/src/
Dmain.cpp16 #include <thrift/protocol/TBinaryProtocol.h>
17 #include <thrift/protocol/TCompactProtocol.h>
18 #include <thrift/transport/TBufferTransports.h>
19 #include <thrift/transport/TSSLSocket.h>
20 #include <thrift/transport/TSocket.h>
24 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
19 } // namespace apache::thrift::transport

12