PocketMine-MP 5.24.1 git-9d6a0cc7385976fb350f6f919ecc5580b508a783
|
Public Member Functions | |
__construct (private \Logger $logger, private string $ip, private int $port) | |
setName (string $name) | |
shutdown () | |
start () | |
tick () | |
Definition at line 30 of file UPnPNetworkInterface.php.
pocketmine\network\upnp\UPnPNetworkInterface::__construct | ( | private \Logger | $logger, |
private string | $ip, | ||
private int | $port ) |
Definition at line 33 of file UPnPNetworkInterface.php.
pocketmine\network\upnp\UPnPNetworkInterface::setName | ( | string | $name | ) |
Implements pocketmine\network\NetworkInterface.
Definition at line 57 of file UPnPNetworkInterface.php.
pocketmine\network\upnp\UPnPNetworkInterface::shutdown | ( | ) |
Gracefully shuts down the network interface.
Implements pocketmine\network\NetworkInterface.
Definition at line 65 of file UPnPNetworkInterface.php.
pocketmine\network\upnp\UPnPNetworkInterface::start | ( | ) |
Performs actions needed to start the interface after it is registered.
NetworkInterfaceStartException |
Implements pocketmine\network\NetworkInterface.
Definition at line 45 of file UPnPNetworkInterface.php.
References pocketmine\network\upnp\UPnP\getServiceUrl(), and pocketmine\network\upnp\UPnP\portForward().
pocketmine\network\upnp\UPnPNetworkInterface::tick | ( | ) |
Called every tick to process events on the interface.
Implements pocketmine\network\NetworkInterface.
Definition at line 61 of file UPnPNetworkInterface.php.