1: <?php declare(strict_types=1);
2:
3: /**
4: * Clansuite Server Query
5: *
6: * SPDX-FileCopyrightText: 2003-2025 Jens A. Koch
7: * SPDX-License-Identifier: MIT
8: *
9: * For the full copyright and license information, please view
10: * the LICENSE file that was distributed with this source code.
11: */
12:
13: namespace Clansuite\Capture\Protocol;
14:
15: use Clansuite\Capture\ServerAddress;
16: use Clansuite\Capture\ServerInfo;
17:
18: interface ProtocolInterface
19: {
20: public function query(ServerAddress $addr): ServerInfo;
21:
22: public function getProtocolName(): string;
23:
24: public function getVersion(ServerInfo $info): string;
25: }
26: