From 19fcec84d8d7d21e796c7624e521b60d28ee21ed Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 7 Apr 2024 20:45:59 +0200 Subject: Adding upstream version 16.2.11+ds. Signed-off-by: Daniel Baumann --- .../thrift/doc/specs/thrift-protocol-spec.md | 101 +++++++++++++++++++++ 1 file changed, 101 insertions(+) create mode 100644 src/jaegertracing/thrift/doc/specs/thrift-protocol-spec.md (limited to 'src/jaegertracing/thrift/doc/specs/thrift-protocol-spec.md') diff --git a/src/jaegertracing/thrift/doc/specs/thrift-protocol-spec.md b/src/jaegertracing/thrift/doc/specs/thrift-protocol-spec.md new file mode 100644 index 000000000..0c1a61cb2 --- /dev/null +++ b/src/jaegertracing/thrift/doc/specs/thrift-protocol-spec.md @@ -0,0 +1,101 @@ +Thrift Protocol Structure +==================================================================== + +Last Modified: 2007-Jun-29 + + + +This document describes the structure of the Thrift protocol +without specifying the encoding. Thus, the order of elements +could in some cases be rearranged depending upon the TProtocol +implementation, but this document specifies the minimum required +structure. There are some "dumb" terminals like STRING and INT +that take the place of an actual encoding specification. + +They key point to notice is that ALL messages are just one wrapped +``. Depending upon the message type, the `` can be +interpreted as the argument list to a function, the return value +of a function, or an exception. + +-------------------------------------------------------------------- + +``` + ::= + + ::= + + ::= STRING + + ::= T_CALL | T_REPLY | T_EXCEPTION | T_ONEWAY + + ::= I32 + + ::= * + + ::= + + ::= STRING + + ::= T_STOP + + ::= + + ::= + + ::= STRING + + ::= T_BOOL | T_BYTE | T_I8 | T_I16 | T_I32 | T_I64 | T_DOUBLE + | T_STRING | T_BINARY | T_STRUCT | T_MAP | T_SET | T_LIST + + ::= I16 + + ::= I8 | I16 | I32 | I64 | DOUBLE | STRING | BINARY + | | | + + ::= * + + ::= + + ::= + + ::= + + ::= I32 + + ::= * + + ::= + + ::= + + ::= I32 + + ::= * + + ::= + + ::= + + ::= I32 +``` -- cgit v1.2.3