1 | <?php |
||
9 | class AbstractAction implements ActionInterface |
||
10 | { |
||
11 | |||
12 | /** |
||
13 | * Handle Connection |
||
14 | * |
||
15 | * @param ConnectionInterface $connection |
||
16 | * @return mixed |
||
17 | */ |
||
18 | public function handleConnect(ConnectionInterface $connection) |
||
22 | |||
23 | /** |
||
24 | * Handle messages |
||
25 | * |
||
26 | * @param MessageInterface $message |
||
27 | * @return void |
||
28 | */ |
||
29 | public function handleMessage(MessageInterface $message) |
||
33 | |||
34 | /** |
||
35 | * Handle repeated function calls |
||
36 | * @param ConnectionInterface $connection |
||
37 | * @return void |
||
38 | */ |
||
39 | public function handleTick(ConnectionInterface $connection) |
||
43 | |||
44 | } |
||
45 |