PocketMine-MP 5.21.2 git-b2aa6396c3cc2cafdd815eacc360e1ad89599899
Loading...
Searching...
No Matches
pocketmine\network\RawPacketHandler Interface Reference
+ Inheritance diagram for pocketmine\network\RawPacketHandler:
+ Collaboration diagram for pocketmine\network\RawPacketHandler:

Public Member Functions

 getPattern ()
 
 handle (AdvancedNetworkInterface $interface, string $address, int $port, string $packet)
 

Detailed Description

Definition at line 26 of file RawPacketHandler.php.

Member Function Documentation

◆ getPattern()

pocketmine\network\RawPacketHandler::getPattern ( )

Returns a preg_match() compatible regex pattern used to filter packets on this handler. Only packets matching this pattern will be delivered to the handler.

Implemented in pocketmine\network\query\QueryHandler.

◆ handle()

pocketmine\network\RawPacketHandler::handle ( AdvancedNetworkInterface $interface,
string $address,
int $port,
string $packet )
Exceptions
PacketHandlingException

Implemented in pocketmine\network\query\QueryHandler.


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