PocketMine-MP 5.23.3 git-f7687af337d001ddbcc47b8e773f014a33faa662
|
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.