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