1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
|
<?php
namespace Jaeger\Thrift\Crossdock;
/**
* Autogenerated by Thrift Compiler (0.11.0)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
*/
use Thrift\Base\TBase;
use Thrift\Type\TType;
use Thrift\Type\TMessageType;
use Thrift\Exception\TException;
use Thrift\Exception\TProtocolException;
use Thrift\Protocol\TProtocol;
use Thrift\Protocol\TBinaryProtocolAccelerated;
use Thrift\Exception\TApplicationException;
class Downstream extends TBase {
static $isValidate = false;
static $_TSPEC = array(
1 => array(
'var' => 'serviceName',
'isRequired' => true,
'type' => TType::STRING,
),
2 => array(
'var' => 'serverRole',
'isRequired' => true,
'type' => TType::STRING,
),
3 => array(
'var' => 'host',
'isRequired' => true,
'type' => TType::STRING,
),
4 => array(
'var' => 'port',
'isRequired' => true,
'type' => TType::STRING,
),
5 => array(
'var' => 'transport',
'isRequired' => true,
'type' => TType::I32,
),
6 => array(
'var' => 'downstream',
'isRequired' => false,
'type' => TType::STRUCT,
'class' => '\Jaeger\Thrift\Crossdock\Downstream',
),
);
/**
* @var string
*/
public $serviceName = null;
/**
* @var string
*/
public $serverRole = null;
/**
* @var string
*/
public $host = null;
/**
* @var string
*/
public $port = null;
/**
* @var int
*/
public $transport = null;
/**
* @var \Jaeger\Thrift\Crossdock\Downstream
*/
public $downstream = null;
public function __construct($vals=null) {
if (is_array($vals)) {
parent::__construct(self::$_TSPEC, $vals);
}
}
public function getName() {
return 'Downstream';
}
public function read($input)
{
return $this->_read('Downstream', self::$_TSPEC, $input);
}
public function write($output) {
return $this->_write('Downstream', self::$_TSPEC, $output);
}
}
|