PocketMine-MP 5.21.2 git-a6534ecbbbcf369264567d27e5ed70f7f5be9816
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: