Definition at line 29 of file ReceiveReliabilityLayer.php.
◆ __construct()
raklib\generic\ReceiveReliabilityLayer::__construct |
( |
private \Logger |
$logger, |
|
|
private \Closure |
$onRecv, |
|
|
private \Closure |
$sendPacket, |
|
|
private int |
$maxSplitPacketPartCount = PHP_INT_MAX , |
|
|
private int |
$maxConcurrentSplitPackets = PHP_INT_MAX |
|
) |
| |
@phpstan-param positive-int $maxSplitPacketPartCount @phpstan-param \Closure(EncapsulatedPacket) : void $onRecv @phpstan-param \Closure(AcknowledgePacket) : void $sendPacket
Definition at line 62 of file ReceiveReliabilityLayer.php.
◆ needsUpdate()
raklib\generic\ReceiveReliabilityLayer::needsUpdate |
( |
| ) |
|
◆ onDatagram()
raklib\generic\ReceiveReliabilityLayer::onDatagram |
( |
Datagram |
$packet | ) |
|
◆ update()
raklib\generic\ReceiveReliabilityLayer::update |
( |
| ) |
|
◆ $WINDOW_SIZE
int raklib\generic\ReceiveReliabilityLayer::$WINDOW_SIZE = 2048 |
|
static |
The documentation for this class was generated from the following file: