PocketMine-MP 5.21.1 git-2ff647079265e7c600203af4fd902b15e99d49a4
|
Public Member Functions | |
__construct (private int $mtuSize, private \Closure $sendDatagramCallback, private \Closure $onACK, private int $reliableWindowSize=512,) | |
addEncapsulatedToQueue (EncapsulatedPacket $packet, bool $immediate=false) | |
needsUpdate () | |
onACK (ACK $packet) | |
onNACK (NACK $packet) | |
sendQueue () | |
update () | |
Definition at line 33 of file SendReliabilityLayer.php.
raklib\generic\SendReliabilityLayer::__construct | ( | private int | $mtuSize, |
private \Closure | $sendDatagramCallback, | ||
private \Closure | $onACK, | ||
private int | $reliableWindowSize = 512 |
||
) |
@phpstan-param int<Session::MIN_MTU_SIZE, max> $mtuSize @phpstan-param \Closure(Datagram) : void $sendDatagramCallback @phpstan-param \Closure(int) : void $onACK
Definition at line 84 of file SendReliabilityLayer.php.
raklib\generic\SendReliabilityLayer::addEncapsulatedToQueue | ( | EncapsulatedPacket | $packet, |
bool | $immediate = false |
||
) |
Definition at line 166 of file SendReliabilityLayer.php.
raklib\generic\SendReliabilityLayer::needsUpdate | ( | ) |
Definition at line 253 of file SendReliabilityLayer.php.
raklib\generic\SendReliabilityLayer::onACK | ( | ACK | $packet | ) |
Definition at line 221 of file SendReliabilityLayer.php.
raklib\generic\SendReliabilityLayer::onNACK | ( | NACK | $packet | ) |
Definition at line 242 of file SendReliabilityLayer.php.
raklib\generic\SendReliabilityLayer::sendQueue | ( | ) |
Definition at line 119 of file SendReliabilityLayer.php.
raklib\generic\SendReliabilityLayer::update | ( | ) |
Definition at line 262 of file SendReliabilityLayer.php.