|
PocketMine-MP 5.36.1 git-eaa7c4834c8fe2f379d24e7f0ee6cc63cfb18ccc
|
Inheritance diagram for pocketmine\network\NetworkInterface:
Collaboration diagram for pocketmine\network\NetworkInterface:Public Member Functions | |
| setName (string $name) | |
| shutdown () | |
| start () | |
| tick () | |
Network interfaces are transport layers which can be used to transmit packets between the server and clients.
Definition at line 32 of file NetworkInterface.php.
| pocketmine\network\NetworkInterface::shutdown | ( | ) |
Gracefully shuts down the network interface.
Implemented in pocketmine\network\mcpe\raklib\RakLibInterface, pocketmine\network\query\DedicatedQueryNetworkInterface, and pocketmine\network\upnp\UPnPNetworkInterface.
| pocketmine\network\NetworkInterface::start | ( | ) |
Performs actions needed to start the interface after it is registered.
| NetworkInterfaceStartException |
Implemented in pocketmine\network\mcpe\raklib\RakLibInterface, pocketmine\network\query\DedicatedQueryNetworkInterface, and pocketmine\network\upnp\UPnPNetworkInterface.
| pocketmine\network\NetworkInterface::tick | ( | ) |
Called every tick to process events on the interface.
Implemented in pocketmine\network\mcpe\raklib\RakLibInterface, pocketmine\network\query\DedicatedQueryNetworkInterface, and pocketmine\network\upnp\UPnPNetworkInterface.