PocketMine-MP 5.15.1 git-5ef247620a7c6301a849b54e5ef1009217729fc8
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.

Referenced by pocketmine\network\Network\registerInterface().

+ Here is the caller graph for this function:

◆ tick()

pocketmine\network\NetworkInterface::tick ( )

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