PocketMine-MP 5.21.1 git-2ff647079265e7c600203af4fd902b15e99d49a4
raklib\server\UnconnectedMessageHandler Class Reference
+ Collaboration diagram for raklib\server\UnconnectedMessageHandler:

Public Member Functions

 __construct (private Server $server, private ProtocolAcceptor $protocolAcceptor)
 
 getPacketFromPool (string $buffer)
 
 handleRaw (string $payload, InternetAddress $address)
 

Detailed Description

Definition at line 39 of file UnconnectedMessageHandler.php.

Constructor & Destructor Documentation

◆ __construct()

raklib\server\UnconnectedMessageHandler::__construct ( private Server  $server,
private ProtocolAcceptor  $protocolAcceptor 
)

Definition at line 46 of file UnconnectedMessageHandler.php.

Member Function Documentation

◆ getPacketFromPool()

raklib\server\UnconnectedMessageHandler::getPacketFromPool ( string  $buffer)

Definition at line 120 of file UnconnectedMessageHandler.php.

◆ handleRaw()

raklib\server\UnconnectedMessageHandler::handleRaw ( string  $payload,
InternetAddress  $address 
)
Exceptions
BinaryDataException

Definition at line 56 of file UnconnectedMessageHandler.php.


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