Files
src/miniquake2/network/runtime/multicast_dispatch.ml
Provides miniquake2 network runtime multicast dispatch facilities for this project.
- Package
miniquake2.network.runtime.multicast_dispatch- Reachable
- Yes
Imports
Declarations
# buildPlan
function buildPlan(runtime, slot, events)
Build plan.
| Parameter | Type | Default | Description |
|---|
runtime | dynamic | — | runtime value consumed by this operation. |
slot | dynamic | — | slot value consumed by this operation. |
events | dynamic | — | events value consumed by this operation. |
View source
# dispatchRouted
function dispatchRouted(runtime, socket, events, routedEvents, now)
Dispatch routed.
| Parameter | Type | Default | Description |
|---|
runtime | dynamic | — | runtime value consumed by this operation. |
socket | dynamic | — | socket value consumed by this operation. |
events | dynamic | — | events value consumed by this operation. |
routedEvents | dynamic | — | routedEvents value consumed by this operation. |
now | dynamic | — | now value consumed by this operation. |
View source
miniquake2.network.runtime.multicast_dispatch.MulticastClientPlan struct
miniquake2.network.runtime.multicast_dispatch.MulticastDispatchResult struct
# packetize
function packetize(events, first, last, maximumPayload)
Performs the packetize operation for the miniquake2 network runtime multicast dispatch module.
| Parameter | Type | Default | Description |
|---|
events | dynamic | — | events value consumed by this operation. |
first | dynamic | — | first value consumed by this operation. |
last | dynamic | — | last value consumed by this operation. |
maximumPayload | dynamic | — | maximumPayload value consumed by this operation. |
View source
# payloadCapacity
function payloadCapacity(client)
Performs the payloadCapacity operation for the miniquake2 network runtime multicast dispatch module.
| Parameter | Type | Default | Description |
|---|
client | dynamic | — | client value consumed by this operation. |
View source