PocketMine-MP 5.21.2 git-b2aa6396c3cc2cafdd815eacc360e1ad89599899
|
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.