|
1
|
|
|
<?php |
|
2
|
|
|
|
|
3
|
|
|
/* This file was autogenerated by spec/parser.php - Do not modify */ |
|
4
|
|
|
|
|
5
|
|
|
namespace PhpAmqpLib\Helper\Protocol; |
|
6
|
|
|
|
|
7
|
|
|
class Wait080 |
|
8
|
|
|
{ |
|
9
|
|
|
|
|
10
|
|
|
protected $wait = array( |
|
11
|
|
|
'connection.start' => '10,10', |
|
12
|
|
|
'connection.start_ok' => '10,11', |
|
13
|
|
|
'connection.secure' => '10,20', |
|
14
|
|
|
'connection.secure_ok' => '10,21', |
|
15
|
|
|
'connection.tune' => '10,30', |
|
16
|
|
|
'connection.tune_ok' => '10,31', |
|
17
|
|
|
'connection.open' => '10,40', |
|
18
|
|
|
'connection.open_ok' => '10,41', |
|
19
|
|
|
'connection.redirect' => '10,50', |
|
20
|
|
|
'connection.close' => '10,60', |
|
21
|
|
|
'connection.close_ok' => '10,61', |
|
22
|
|
|
'channel.open' => '20,10', |
|
23
|
|
|
'channel.open_ok' => '20,11', |
|
24
|
|
|
'channel.flow' => '20,20', |
|
25
|
|
|
'channel.flow_ok' => '20,21', |
|
26
|
|
|
'channel.alert' => '20,30', |
|
27
|
|
|
'channel.close' => '20,40', |
|
28
|
|
|
'channel.close_ok' => '20,41', |
|
29
|
|
|
'access.request' => '30,10', |
|
30
|
|
|
'access.request_ok' => '30,11', |
|
31
|
|
|
'exchange.declare' => '40,10', |
|
32
|
|
|
'exchange.declare_ok' => '40,11', |
|
33
|
|
|
'exchange.delete' => '40,20', |
|
34
|
|
|
'exchange.delete_ok' => '40,21', |
|
35
|
|
|
'queue.declare' => '50,10', |
|
36
|
|
|
'queue.declare_ok' => '50,11', |
|
37
|
|
|
'queue.bind' => '50,20', |
|
38
|
|
|
'queue.bind_ok' => '50,21', |
|
39
|
|
|
'queue.purge' => '50,30', |
|
40
|
|
|
'queue.purge_ok' => '50,31', |
|
41
|
|
|
'queue.delete' => '50,40', |
|
42
|
|
|
'queue.delete_ok' => '50,41', |
|
43
|
|
|
'queue.unbind' => '50,50', |
|
44
|
|
|
'queue.unbind_ok' => '50,51', |
|
45
|
|
|
'basic.qos' => '60,10', |
|
46
|
|
|
'basic.qos_ok' => '60,11', |
|
47
|
|
|
'basic.consume' => '60,20', |
|
48
|
|
|
'basic.consume_ok' => '60,21', |
|
49
|
|
|
'basic.cancel' => '60,30', |
|
50
|
|
|
'basic.cancel_ok' => '60,31', |
|
51
|
|
|
'basic.publish' => '60,40', |
|
52
|
|
|
'basic.return' => '60,50', |
|
53
|
|
|
'basic.deliver' => '60,60', |
|
54
|
|
|
'basic.get' => '60,70', |
|
55
|
|
|
'basic.get_ok' => '60,71', |
|
56
|
|
|
'basic.get_empty' => '60,72', |
|
57
|
|
|
'basic.ack' => '60,80', |
|
58
|
|
|
'basic.reject' => '60,90', |
|
59
|
|
|
'basic.recover_async' => '60,100', |
|
60
|
|
|
'basic.recover' => '60,110', |
|
61
|
|
|
'basic.recover_ok' => '60,111', |
|
62
|
|
|
'file.qos' => '70,10', |
|
63
|
|
|
'file.qos_ok' => '70,11', |
|
64
|
|
|
'file.consume' => '70,20', |
|
65
|
|
|
'file.consume_ok' => '70,21', |
|
66
|
|
|
'file.cancel' => '70,30', |
|
67
|
|
|
'file.cancel_ok' => '70,31', |
|
68
|
|
|
'file.open' => '70,40', |
|
69
|
|
|
'file.open_ok' => '70,41', |
|
70
|
|
|
'file.stage' => '70,50', |
|
71
|
|
|
'file.publish' => '70,60', |
|
72
|
|
|
'file.return' => '70,70', |
|
73
|
|
|
'file.deliver' => '70,80', |
|
74
|
|
|
'file.ack' => '70,90', |
|
75
|
|
|
'file.reject' => '70,100', |
|
76
|
|
|
'stream.qos' => '80,10', |
|
77
|
|
|
'stream.qos_ok' => '80,11', |
|
78
|
|
|
'stream.consume' => '80,20', |
|
79
|
|
|
'stream.consume_ok' => '80,21', |
|
80
|
|
|
'stream.cancel' => '80,30', |
|
81
|
|
|
'stream.cancel_ok' => '80,31', |
|
82
|
|
|
'stream.publish' => '80,40', |
|
83
|
|
|
'stream.return' => '80,50', |
|
84
|
|
|
'stream.deliver' => '80,60', |
|
85
|
|
|
'tx.select' => '90,10', |
|
86
|
|
|
'tx.select_ok' => '90,11', |
|
87
|
|
|
'tx.commit' => '90,20', |
|
88
|
|
|
'tx.commit_ok' => '90,21', |
|
89
|
|
|
'tx.rollback' => '90,30', |
|
90
|
|
|
'tx.rollback_ok' => '90,31', |
|
91
|
|
|
'dtx.select' => '100,10', |
|
92
|
|
|
'dtx.select_ok' => '100,11', |
|
93
|
|
|
'dtx.start' => '100,20', |
|
94
|
|
|
'dtx.start_ok' => '100,21', |
|
95
|
|
|
'tunnel.request' => '110,10', |
|
96
|
|
|
'test.integer' => '120,10', |
|
97
|
|
|
'test.integer_ok' => '120,11', |
|
98
|
|
|
'test.string' => '120,20', |
|
99
|
|
|
'test.string_ok' => '120,21', |
|
100
|
|
|
'test.table' => '120,30', |
|
101
|
|
|
'test.table_ok' => '120,31', |
|
102
|
|
|
'test.content' => '120,40', |
|
103
|
|
|
'test.content_ok' => '120,41', |
|
104
|
|
|
); |
|
105
|
|
|
|
|
106
|
|
|
|
|
107
|
|
|
|
|
108
|
|
|
public function get_wait($method) |
|
109
|
|
|
{ |
|
110
|
|
|
return $this->wait[$method]; |
|
111
|
|
|
} |
|
112
|
|
|
|
|
113
|
|
|
} |
|
114
|
|
|
|