Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
| Total | n/a |
0 / 0 |
n/a |
0 / 0 |
CRAP | n/a |
0 / 0 |
|||
| PresenceMessage | n/a |
0 / 0 |
n/a |
0 / 0 |
0 | n/a |
0 / 0 |
|||
| 1 | <?php |
| 2 | namespace Ably\Models; |
| 3 | |
| 4 | class PresenceMessage extends BaseMessage { |
| 5 | |
| 6 | /** |
| 7 | * @var int A unique id for the client associated with the update, to disambiguate in the case |
| 8 | * that a single clientId is simultaneously present multiple times (eg on different connections). |
| 9 | * Populated by the server. |
| 10 | */ |
| 11 | public $memberKey; |
| 12 | /** |
| 13 | * @var int The timestamp for this message. Populated by the server. |
| 14 | */ |
| 15 | public $action; |
| 16 | |
| 17 | const ABSENT = 0; |
| 18 | const PRESENT = 1; |
| 19 | const ENTER = 2; |
| 20 | const LEAVE = 3; |
| 21 | const UPDATE = 4; |
| 22 | } |