Lines Matching full:is

18 software distributed under the License is distributed on an
19 "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
34 The information here is _mostly_ based on the Java implementation in the Apache thrift library (ver…
61 The pattern is a simple half duplex protocol where the parties alternate in sending a `Message` fol…
62 What these are is described below.
75 The *sequence id* is a simple message id assigned by the client. The server will use the same seque…
77 which is increased for each message. The sequence id simply wraps around when it overflows.
81 When the *multiplexed protocol* is used, the name contains the service name, a colon `:` and the me…
82 multiplexed protocol is not compatible with other protocols.
84 The *message type* indicates what kind of message is sent. Clients send requests with TMessages of …
88 Type `Reply` is used when the service method completes normally. That is, it returns a value or it …
91 Type `Exception` is used for other exceptions. That is: when the service method throws an exception…
95 In the Java implementation (0.9.3) there is different behavior for the synchronous and asynchronous…
100 Type `Oneway` is only used starting from Apache Thrift 0.9.3. Earlier versions do _not_ send TMessa…
109 argument ids correspond to the field ids. The name of the struct is the name of the method with `_a…
110 For methods without arguments an struct is sent without fields.
114 …lows the message of type `Reply` are structs in which exactly 1 of the following fields is encoded:
119 When the message is of type `Exception` the struct is encoded as if it was declared by the followin…
130 * _unknown_: 0, used in case the type from the peer is unknown.
131 * _unknown method_: 1, used in case the method requested by the client is unknown by the server.
136 * _internal error_: 6, used when the server throws an exception that is not declared in the Thrift …
137 * _protocol error_: 7, used when something goes wrong during decoding. For example when a list is t…
138 field is missing.
147 The binary protocol is fairly simple and therefore easy to process. The compact protocol needs less…
148 …at the cost of additional processing. As bandwidth is usually the bottleneck, the compact protocol…
154 …estigating the first byte. If the value is `1000 0000` or `0000 0000` (assuming a name shorter tha…
155 binary protocol. When the value is `1000 0010` it is talking the compact protocol.
159 The first thrift binary wire format was unframed. This means that information is sent out in a sing…
166 buffer. Then when the struct is complete (transport method `flush` is hijacked for this), the lengt…
167 written to the socket first, followed by the buffered bytes. The combination is called a _frame_. O…
168 the complete frame is first read in a buffer before the message is passed to a processor.
170 The length prefix is a 4 byte signed int, send in network (big endian) order.
173 … introduced to ease the implementation of async processors. An async processor is only invoked when
174 all data is received. Unfortunately, framed transport is not ideal for large messages as the entire…
176 growing byte array. Every time the byte array is full it needs to be copied to a new larger byte ar…