| @@ 220-230 (lines=11) @@ | ||
| 217 | $header['channel'] |
|
| 218 | ); |
|
| 219 | } |
|
| 220 | if ($method === "\x00\x1E") { |
|
| 221 | return new Method\ExchangeBind( |
|
| 222 | $header['channel'], |
|
| 223 | Value\ShortValue::decode($data), |
|
| 224 | Value\ShortStringValue::decode($data), |
|
| 225 | Value\ShortStringValue::decode($data), |
|
| 226 | Value\ShortStringValue::decode($data), |
|
| 227 | Value\BooleanValue::decode($data), |
|
| 228 | Value\TableValue::decode($data) |
|
| 229 | ); |
|
| 230 | } |
|
| 231 | if ($method === "\x00\x1F") { |
|
| 232 | return new Method\ExchangeBindOk( |
|
| 233 | $header['channel'] |
|
| @@ 236-246 (lines=11) @@ | ||
| 233 | $header['channel'] |
|
| 234 | ); |
|
| 235 | } |
|
| 236 | if ($method === "\x00\x28") { |
|
| 237 | return new Method\ExchangeUnbind( |
|
| 238 | $header['channel'], |
|
| 239 | Value\ShortValue::decode($data), |
|
| 240 | Value\ShortStringValue::decode($data), |
|
| 241 | Value\ShortStringValue::decode($data), |
|
| 242 | Value\ShortStringValue::decode($data), |
|
| 243 | Value\BooleanValue::decode($data), |
|
| 244 | Value\TableValue::decode($data) |
|
| 245 | ); |
|
| 246 | } |
|
| 247 | if ($method === "\x00\x33") { |
|
| 248 | return new Method\ExchangeUnbindOk( |
|
| 249 | $header['channel'] |
|
| @@ 276-286 (lines=11) @@ | ||
| 273 | Value\LongValue::decode($data) |
|
| 274 | ); |
|
| 275 | } |
|
| 276 | if ($method === "\x00\x14") { |
|
| 277 | return new Method\QueueBind( |
|
| 278 | $header['channel'], |
|
| 279 | Value\ShortValue::decode($data), |
|
| 280 | Value\ShortStringValue::decode($data), |
|
| 281 | Value\ShortStringValue::decode($data), |
|
| 282 | Value\ShortStringValue::decode($data), |
|
| 283 | Value\BooleanValue::decode($data), |
|
| 284 | Value\TableValue::decode($data) |
|
| 285 | ); |
|
| 286 | } |
|
| 287 | if ($method === "\x00\x15") { |
|
| 288 | return new Method\QueueBindOk( |
|
| 289 | $header['channel'] |
|
| @@ 292-301 (lines=10) @@ | ||
| 289 | $header['channel'] |
|
| 290 | ); |
|
| 291 | } |
|
| 292 | if ($method === "\x00\x32") { |
|
| 293 | return new Method\QueueUnbind( |
|
| 294 | $header['channel'], |
|
| 295 | Value\ShortValue::decode($data), |
|
| 296 | Value\ShortStringValue::decode($data), |
|
| 297 | Value\ShortStringValue::decode($data), |
|
| 298 | Value\ShortStringValue::decode($data), |
|
| 299 | Value\TableValue::decode($data) |
|
| 300 | ); |
|
| 301 | } |
|
| 302 | if ($method === "\x00\x33") { |
|
| 303 | return new Method\QueueUnbindOk( |
|
| 304 | $header['channel'] |
|