freenet-router |
Subversion Repositories: |
Line No. | Rev | Author | Line |
---|---|---|---|
1 | 2 | simandl | <?php |
2 | |
||
3 | namespace Phem\Libraries\MessageBus; |
||
4 | |
||
5 | use React\EventLoop\LoopInterface; |
||
6 | |
||
7 | /** |
||
8 | * @author Jakub PetrĹžĂlka <petrzilka@czweb.net> |
||
9 | */ |
||
10 | abstract class WebsocketPuller extends Puller |
||
11 | { |
||
12 | |
||
13 | protected $msgBus; |
||
14 | protected $server; |
||
15 | |
||
16 | abstract public function __construct(LoopInterface $loop, MessageBus $msgBus); |
||
17 | |
||
18 | abstract public function listen($ip,$port); |
||
19 | |
||
20 | } |