public function __construct(TcpConnector $connector, string $host, int $port) { parent::__construct($host, $port); $this->connector = $connector; }
public function __construct(UnixConnector $connector, string $socket) { parent::__construct($socket); $this->connector = $connector; }