MiniQuake2

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.

ParameterTypeDefaultDescription
runtimedynamic—runtime value consumed by this operation.
slotdynamic—slot value consumed by this operation.
eventsdynamic—events value consumed by this operation.

View source

dispatchRouted

function dispatchRouted(runtime, socket, events, routedEvents, now)

Dispatch routed.

ParameterTypeDefaultDescription
runtimedynamic—runtime value consumed by this operation.
socketdynamic—socket value consumed by this operation.
eventsdynamic—events value consumed by this operation.
routedEventsdynamic—routedEvents value consumed by this operation.
nowdynamic—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.

ParameterTypeDefaultDescription
eventsdynamic—events value consumed by this operation.
firstdynamic—first value consumed by this operation.
lastdynamic—last value consumed by this operation.
maximumPayloaddynamic—maximumPayload value consumed by this operation.

View source

payloadCapacity

function payloadCapacity(client)

Performs the payloadCapacity operation for the miniquake2 network runtime multicast dispatch module.

ParameterTypeDefaultDescription
clientdynamic—client value consumed by this operation.

View source