PhpAmqpLib/Helper/Protocol/Protocol080.php 1 location
|
@@ 73-80 (lines=8) @@
|
| 70 |
|
/** |
| 71 |
|
* @return array |
| 72 |
|
*/ |
| 73 |
|
public function connectionTune($channel_max = 0, $frame_max = 0, $heartbeat = 0) |
| 74 |
|
{ |
| 75 |
|
$args = new AMQPWriter(); |
| 76 |
|
$args->write_short($channel_max); |
| 77 |
|
$args->write_long($frame_max); |
| 78 |
|
$args->write_short($heartbeat); |
| 79 |
|
return array(10, 30, $args); |
| 80 |
|
} |
| 81 |
|
|
| 82 |
|
|
| 83 |
|
|
PhpAmqpLib/Helper/Protocol/Protocol091.php 1 location
|
@@ 73-80 (lines=8) @@
|
| 70 |
|
/** |
| 71 |
|
* @return array |
| 72 |
|
*/ |
| 73 |
|
public function connectionTune($channel_max = 0, $frame_max = 0, $heartbeat = 0) |
| 74 |
|
{ |
| 75 |
|
$args = new AMQPWriter(); |
| 76 |
|
$args->write_short($channel_max); |
| 77 |
|
$args->write_long($frame_max); |
| 78 |
|
$args->write_short($heartbeat); |
| 79 |
|
return array(10, 30, $args); |
| 80 |
|
} |
| 81 |
|
|
| 82 |
|
|
| 83 |
|
|