Loading [MathJax]/extensions/tex2jax.js
PocketMine-MP 5.25.3 git-afc4a3c7f18d42b41cbfde84ab6a2e4dd7c03045
All Classes Namespaces Functions Variables Enumerations Enumerator Pages
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: