1 | <?php |
||
13 | class Connector |
||
14 | { |
||
15 | /** |
||
16 | * @var ConnectionParams |
||
17 | */ |
||
18 | private $params; |
||
19 | |||
20 | /** |
||
21 | * @var MsgFactory |
||
22 | */ |
||
23 | private $msgs; |
||
24 | |||
25 | /** |
||
26 | * @var LoopInterface |
||
27 | */ |
||
28 | private $eventLoop; |
||
29 | |||
30 | /** |
||
31 | * @var \React\SocketClient\Connector|ConnectorInterface |
||
32 | */ |
||
33 | private $socketConnector; |
||
34 | |||
35 | /** |
||
36 | * Connector constructor. |
||
37 | * @param MsgFactory $msgs |
||
38 | * @param ConnectionParams $params |
||
39 | * @param LoopInterface $loop |
||
40 | * @param Resolver $resolver |
||
41 | * @param ConnectorInterface $connector |
||
42 | */ |
||
43 | 12 | public function __construct(MsgFactory $msgs, ConnectionParams $params, LoopInterface $loop, Resolver $resolver, ConnectorInterface $connector = null) |
|
54 | |||
55 | /** |
||
56 | * @param NetworkAddressInterface $remotePeer |
||
57 | * @return \React\Promise\PromiseInterface |
||
58 | */ |
||
59 | 12 | public function rawConnect(NetworkAddressInterface $remotePeer) |
|
69 | |||
70 | /** |
||
71 | * @param NetworkAddressInterface $remotePeer |
||
72 | * @return \React\Promise\PromiseInterface |
||
73 | */ |
||
74 | 12 | public function connect(NetworkAddressInterface $remotePeer) |
|
91 | } |
||
92 |
This class, trait or interface has been deprecated. The supplier of the file has supplied an explanatory message.
The explanatory message should give you some clue as to whether and when the type will be removed from the class and what other constant to use instead.