MiniQuake2

src/miniquake2/network/connectionless.ml

Provides miniquake2 network connectionless facilities for this project.

Package
miniquake2.network.connectionless
Reachable
Yes

Imports

Declarations

acknowledgement

function acknowledgement()

Return the acknowledgement value.

View source

challenge

function challenge(value)

Return the challenge value.

ParameterTypeDefaultDescription
valuedynamic—Value consumed or transformed by the operation.

View source

clientConnect

function clientConnect()

Performs the clientConnect operation for the miniquake2 network connectionless module.

View source

connect

function connect(qport, challenge, userInfo)

Connect state.

ParameterTypeDefaultDescription
qportdynamic—qport value consumed by this operation.
challengedynamic—challenge value consumed by this operation.
userInfodynamic—userInfo value consumed by this operation.

View source

frameText

function frameText(text)

Return the frame text value.

ParameterTypeDefaultDescription
textdynamic—Text consumed by the operation.

View source

getChallenge

function getChallenge()

Return challenge.

View source

heartbeat

function heartbeat(statusText)

Return the heartbeat value.

ParameterTypeDefaultDescription
statusTextdynamic—statusText value consumed by this operation.

View source

info

function info()

Return the info value.

View source

infoReply

function infoReply(text)

Return the info reply value.

ParameterTypeDefaultDescription
textdynamic—Text consumed by the operation.

View source

padLeft

function padLeft(value, width)

Pad left.

ParameterTypeDefaultDescription
valuedynamic—Value consumed or transformed by the operation.
widthdynamic—Width in the coordinate or storage units used by the caller.

View source

parseDecimal

function parseDecimal(value)

Parse decimal.

ParameterTypeDefaultDescription
valuedynamic—Value consumed or transformed by the operation.

View source

parsePacket

function parsePacket(datagram)

Parse packet.

ParameterTypeDefaultDescription
datagramdynamic—datagram value consumed by this operation.

View source

ping

function ping()

Return the ping value.

View source

printReply

function printReply(text)

Print reply.

ParameterTypeDefaultDescription
textdynamic—Text consumed by the operation.

View source

shutdown

function shutdown()

Performs the shutdown operation for the miniquake2 network connectionless module.

View source

splitPayload

function splitPayload(payload)

Split payload.

ParameterTypeDefaultDescription
payloaddynamic—payload value consumed by this operation.

View source

status

function status()

Return the status value.

View source

truncateText

function truncateText(value, maximumBytes)

Return the truncate text value.

ParameterTypeDefaultDescription
valuedynamic—Value consumed or transformed by the operation.
maximumBytesdynamic—maximumBytes value consumed by this operation.

View source