Total Complexity | 4 |
Total Lines | 41 |
Duplicated Lines | 0 % |
Coverage | 0% |
Changes | 0 |
1 | <?php |
||
14 | final class PubRel extends ProtocolBase implements ReadableContentInterface, WritableContentInterface |
||
15 | { |
||
16 | use ReadableContent, WritableContent; |
||
17 | |||
18 | public $packetIdentifier = 0; |
||
19 | |||
20 | const CONTROL_PACKET_VALUE = 6; |
||
21 | |||
22 | public function fillObject(string $rawMQTTHeaders, ClientInterface $client): ReadableContentInterface |
||
26 | } |
||
27 | |||
28 | /** |
||
29 | * Creates the variable header that each method has |
||
30 | * @return string |
||
31 | */ |
||
32 | public function createVariableHeader(): string |
||
36 | } |
||
37 | |||
38 | /** |
||
39 | * Creates the actual payload to be sent |
||
40 | * @return string |
||
41 | */ |
||
42 | public function createPayload(): string |
||
46 | } |
||
47 | |||
48 | /** |
||
49 | * PUBREL should ALWAYS expect an answer back (in the form of a PUBCOMP) |
||
50 | * @return bool |
||
51 | */ |
||
52 | public function shouldExpectAnswer(): bool |
||
57 |