PocketMine-MP 5.23.3 git-f7687af337d001ddbcc47b8e773f014a33faa662
Loading...
Searching...
No Matches
pocketmine\network\NetworkInterface Interface Reference
+ Inheritance diagram for pocketmine\network\NetworkInterface:
+ Collaboration diagram for pocketmine\network\NetworkInterface:

Public Member Functions

 setName (string $name)
 
 shutdown ()
 
 start ()
 
 tick ()
 

Detailed Description

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.

Member Function Documentation

◆ shutdown()

pocketmine\network\NetworkInterface::shutdown ( )

◆ start()

pocketmine\network\NetworkInterface::start ( )

Performs actions needed to start the interface after it is registered.

Exceptions
NetworkInterfaceStartException

Implemented in pocketmine\network\mcpe\raklib\RakLibInterface, pocketmine\network\query\DedicatedQueryNetworkInterface, and pocketmine\network\upnp\UPnPNetworkInterface.

◆ tick()

pocketmine\network\NetworkInterface::tick ( )

The documentation for this interface was generated from the following file: