| 1 | <?php declare(strict_types=1); |
||
| 7 | class Stat extends Response |
||
| 8 | { |
||
| 9 | /** |
||
| 10 | * @var \DateTimeImmutable |
||
| 11 | */ |
||
| 12 | protected $sendTime; |
||
| 13 | |||
| 14 | /** |
||
| 15 | * @var int |
||
| 16 | */ |
||
| 17 | protected $buffered; |
||
| 18 | |||
| 19 | /** |
||
| 20 | * @var int |
||
| 21 | */ |
||
| 22 | protected $received; |
||
| 23 | |||
| 24 | /** |
||
| 25 | * @var int |
||
| 26 | */ |
||
| 27 | protected $rejected; |
||
| 28 | |||
| 29 | 1 | public function init() : void |
|
| 45 | |||
| 46 | /** |
||
| 47 | * @return \DateTimeImmutable |
||
| 48 | */ |
||
| 49 | 1 | public function getSendTime(): \DateTimeImmutable |
|
| 53 | |||
| 54 | /** |
||
| 55 | * @return int |
||
| 56 | */ |
||
| 57 | 1 | public function getBuffered(): int |
|
| 61 | |||
| 62 | /** |
||
| 63 | * @return int |
||
| 64 | */ |
||
| 65 | 1 | public function getReceived(): int |
|
| 69 | |||
| 70 | /** |
||
| 71 | * @return int |
||
| 72 | */ |
||
| 73 | 1 | public function getRejected(): int |
|
| 77 | } |
||
| 78 |