All Downloads are FREE. Search and download functionalities are using the official Maven repository.

archive.aeron-archive-mark-codecs.xml Maven / Gradle / Ivy

There is a newer version: 1.48.0
Show newest version
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<sbe:messageSchema xmlns:sbe="http://fixprotocol.io/2016/sbe"
                   package="io.aeron.archive.codecs.mark"
                   id="100"
                   version="1"
                   semanticVersion="5.2"
                   description="Codecs for Mark file of Aeron Archive."
                   byteOrder="littleEndian">
    <types>
        <composite name="messageHeader" description="Message identifiers and length of message root.">
            <type name="blockLength" primitiveType="uint16"/>
            <type name="templateId"  primitiveType="uint16"/>
            <type name="schemaId"    primitiveType="uint16"/>
            <type name="version"     primitiveType="uint16"/>
        </composite>
        <composite name="groupSizeEncoding" description="Repeating group dimensions.">
            <type name="blockLength" primitiveType="uint16"/>
            <type name="numInGroup"  primitiveType="uint16"/>
        </composite>
        <composite name="varAsciiEncoding" description="Variable length ASCII string header.">
            <type name="length"      primitiveType="uint32" maxValue="1073741824"/>
            <type name="varData"     primitiveType="uint8" length="0" characterEncoding="US-ASCII"/>
        </composite>
        <type name="time_t"   primitiveType="int64" description="Epoch time in milliseconds since 1 Jan 1970 UTC."/>
        <type name="length_t" primitiveType="int32" presence="optional" nullValue="0" description="Length of a buffer"/>
    </types>

    <sbe:message name="MarkFileHeader"
                 id="200"
                 blockLength="128"
                 description="Mark file header.">
        <field name="version"              id="1"  type="int32"/>
        <field name="activityTimestamp"    id="2"  type="time_t" offset="8"/>
        <field name="startTimestamp"       id="3"  type="time_t"/>
        <field name="pid"                  id="4"  type="int64"/>
        <field name="controlStreamId"      id="5"  type="int32"/>
        <field name="localControlStreamId" id="6"  type="int32"/>
        <field name="eventsStreamId"       id="7"  type="int32"/>
        <field name="headerLength"         id="8"  type="length_t" sinceVersion="1"/>
        <field name="errorBufferLength"    id="9"  type="length_t" sinceVersion="1"/>
        <data  name="controlChannel"       id="10" type="varAsciiEncoding"/>
        <data  name="localControlChannel"  id="11" type="varAsciiEncoding"/>
        <data  name="eventsChannel"        id="12" type="varAsciiEncoding"/>
        <data  name="aeronDirectory"       id="13" type="varAsciiEncoding"/>
    </sbe:message>

</sbe:messageSchema>




© 2015 - 2025 Weber Informatics LLC | Privacy Policy