]> git.proxmox.com Git - ceph.git/blame - ceph/src/jaegertracing/thrift/lib/delphi/test/skip/idl/skiptest_version_2.thrift
buildsys: switch source download to quincy
[ceph.git] / ceph / src / jaegertracing / thrift / lib / delphi / test / skip / idl / skiptest_version_2.thrift
CommitLineData
f67539c2
TL
1/*
2 * Licensed to the Apache Software Foundation (ASF) under one
3 * or more contributor license agreements. See the NOTICE file
4 * distributed with this work for additional information
5 * regarding copyright ownership. The ASF licenses this file
6 * to you under the Apache License, Version 2.0 (the
7 * "License"); you may not use this file except in compliance
8 * with the License. You may obtain a copy of the License at
9 *
10 * http://www.apache.org/licenses/LICENSE-2.0
11 *
12 * Unless required by applicable law or agreed to in writing,
13 * software distributed under the License is distributed on an
14 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15 * KIND, either express or implied. See the License for the
16 * specific language governing permissions and limitations
17 * under the License.
18 */
19
20
21// version 2 of the interface
22
23namespace * Skiptest.Two
24
25const i32 SKIPTESTSERVICE_VERSION = 2
26
27struct Pong {
28 1 : optional i32 version1
29 2 : optional i16 version2
30}
31
32struct Ping {
33 1 : optional i32 version1
34 10 : optional bool boolVal
35 11 : optional byte byteVal
36 12 : optional double dbVal
37 13 : optional i16 i16Val
38 14 : optional i32 i32Val
39 15 : optional i64 i64Val
40 16 : optional string strVal
41 17 : optional Pong structVal
42 18 : optional map< list< Pong>, set< string>> mapVal
43}
44
45exception PingFailed {
46 1 : optional i32 pingErrorCode
47}
48
49exception PongFailed {
50 222 : optional i32 pongErrorCode
51 10 : optional bool boolVal
52 11 : optional byte byteVal
53 12 : optional double dbVal
54 13 : optional i16 i16Val
55 14 : optional i32 i32Val
56 15 : optional i64 i64Val
57 16 : optional string strVal
58 17 : optional Pong structVal
59 18 : optional map< list< Pong>, set< string>> mapVal
60}
61
62
63service SkipTestService {
64 Ping PingPong( 1: Ping ping, 3: Pong pong) throws (1: PingFailed pif, 444: PongFailed pof);
65}
66
67
68// EOF
69