|
PocketMine-MP 5.39.4 git-a2b7d660558310260c376d1eeaff549367b9fc6e
|
Inheritance diagram for pocketmine\network\upnp\UPnPNetworkInterface:
Collaboration diagram for pocketmine\network\upnp\UPnPNetworkInterface: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().
Here is the call graph for this function:| 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.