Why HLA 4

HLA 4 is the 2025 edition of the High Level Architecture: IEEE Std 1516-2025, 1516.1-2025 and 1516.2-2025. It follows HLA Evolved, the 2010 edition. A federate still does what HLA users know: it creates and joins a federation execution, publishes and subscribes, updates and reflects, advances in time. What changes most is how a federate reaches the RTI. This page explains that change, the other additions, what each one brings, and why MicroRTI implements HLA 4 and no earlier edition.

Before HLA 4: each RTI came with its own library

Up to HLA Evolved, the standard defined the programming interfaces of a federate, chiefly in Java and in C++, but not what travels on the network behind them. Each RTI product filled that gap itself. It shipped a library that implemented the interfaces and was linked into every federate, and that library spoke the product’s own protocol to the rest of the RTI.

     federate                federate
        |                       |
  library of product A    library of product A
        |                       |
        +--- protocol of product A, known only to product A
                    |
             RTI of product A

Three things followed from it:

  • A federate was built for one RTI product, and in practice every federate of a federation used the same product.
  • A federate depended on the libraries its product shipped: the languages they served, and for C++ the platforms and compilers they were built for.
  • What crossed the network, on which ports and how it was protected was up to the product, not the standard.

HLA 4 defines that link: the HLA Federate Protocol (IEEE 1516.1-2025, 12.13). It has three layers.

LayerWhat it doesClause
HLA service layerEach service call and each callback is a request message and a response message, written in protobuf (Annex D). Every service of clauses 4 to 10 is there, except the four that control when callbacks are delivered, which the client library handles locally (12.13.3.2).12.13.3
Session layerA session between the federate and the RTI, with sequence numbers, heartbeats, and resume after a broken connection.12.13.4
Transport layerTCP, TLS 1.3, WebSocket or secure WebSocket.12.13.5
  federate (Rust)   federate (Python)   federate (Java)   federate (C++)
        |                  |                  |                 |
  client libraries of the Federate Protocol, from any source
        |                  |                  |                 |
        +------------ HLA Federate Protocol (12.13) ------------+
                                   |
                  any HLA 4 RTI that serves the protocol

What the protocol brings

Four things follow from a standard link between federate and RTI.

The RTI and the federate’s library can come from different sources

A client library of the Federate Protocol has one job: turn service calls into messages, and messages into callbacks. The rules of HLA, such as who receives what, when time may advance and who owns an attribute, are applied by the RTI alone. So a client library works with any RTI that speaks the protocol, and the federates of one federation can use different libraries.

With MicroRTI, Java and C++ federates use Pitch FedProClient, an open-source library that MicroRTI did not write, against the microrti server (Java federates, C++ federates). In the other direction, the Rust and Python clients of MicroRTI can join another RTI that serves the protocol (questions and answers).

A federate can be written in any language

The messages are protobuf messages (Annex D), and protobuf has code generators for most programming languages. A client for a new language is an implementation of a protocol, not a port of an RTI. MicroRTI has clients for Rust and Python, and the RTI cannot tell which language a federate is written in, so one federation can mix them: several languages in one federation.

Federates reach the RTI over today’s networks

TLS 1.3 encrypts the link and lets a federate check which RTI it is talking to (12.13.5.1). WebSocket carries the protocol over the ports and proxies of the web (12.13.5.2), and web browsers can open WebSocket connections, so a web page can in principle be a federate. The microrti server serves all four transports (listeners, TLS and authorisation). MicroRTI has no browser client yet.

A broken connection does not take the federate out of the federation

The session outlives the connection under it. Both sides keep the messages they sent. When the connection breaks, or stays silent past a heartbeat timeout, the federate may reconnect and ask to resume its session; the RTI resends what the federate did not receive, the federate does the same, and the federate carries on in its federation execution (12.13.4.4). The federate is lost only if it does not come back in time (4.1.6). The two timeouts of MicroRTI are described in Federate Protocol timeouts.

Authorisation

An HLA 4 RTI can be set up to require credentials, which a federate gives to the Connect service. The RTI then asks its authorisation service whether the federate may connect, and whether it may create, join or destroy a given federation execution, under a given federate name and type (4.1.7, 12.5). The standard predefines one such service, HLAauthorizer, which checks a plain-text password (12.6), and other services can be registered in its place (12.11.3). The Connect service of HLA Evolved took no credentials at all.

MicroRTI has HLAauthorizer with one password for the whole RTI, to use together with TLS so that the password is not sent in clear: see TLS and authorisation.

New services

ServiceClauseWhat it gives
Send Directed Interaction, Receive Directed Interaction †6.14, 6.15An interaction addressed to one object instance, such as an order to one vehicle. It reaches only the federates that own an attribute of that instance, or that subscribed universally and know the instance (6.1.8); the others no longer receive it only to throw it away. The FOM says which interactions may be directed at which object classes (IEEE 1516.2-2025, 4.4), and federates publish and subscribe them per object class (5.6, 5.7, 5.12, 5.13).
List Federation Execution Members, Report Federation Execution Members †4.9, 4.10The federates joined to a federation execution, for any connected federate, joined or not. microrti-cli members uses it (operate a federation).
Federate Resigned †4.13Tells a federate that something other than its own call resigned it, for example a request of the Management Object Model, while it stays connected.
Flush Queue Grant †8.13A grant of its own for Flush Queue Request. Besides the time reached, it gives an optimistic time: the one the federate would have been granted if no earlier message could still arrive.
Get and Set services for the switches10.34 to 10.56A federate reads each of its switches through the federate interface, and sets its advisory switches and its service and exception reporting there too.

The callbacks that deliver objects and messages also name their producer in every case: Discover Object Instance, Reflect Attribute Values and Receive Interaction carry the federate that registered the instance, sent the update or sent the interaction (6.9, 6.11, 6.13). In HLA Evolved that depended on a switch of the FOM, which HLA 4 no longer has (IEEE 1516.2-2025, 4.13).

FOM modules that can grow

In an HLA 4 FOM, the dimensions used to filter updates are attached to an object class and apply to all its attributes, the inherited ones included (IEEE 1516.2-2025, 4.5). HLA Evolved listed them attribute by attribute.

With the HLAextendableVariantRecord encoding, a later FOM module can add alternatives to a variant record without breaking the federates that do not know them; the older, fixed encoding remains for compatibility (4.14.8, 4.14.10). Unsigned integers of 16, 32 and 64 bits, big-endian and little-endian, are among the basic data representations (4.14.3).

MicroRTI reads, merges and encodes all of these: see FOM modules and the MIM and the compliance matrix.

Why MicroRTI implements HLA 4 only

An RTI for HLA Evolved is more than a server. It needs a library of its own for each language, linked into every federate, and for C++ one for each platform and compiler. Only federates built against those libraries can use it.

An RTI for HLA 4 is a server that speaks a published protocol. The client libraries that exist already work with it, so MicroRTI serves Java and C++ federates through a library it did not write, and spends its effort on the RTI itself.

One edition also means one set of rules. The engine of MicroRTI is one deterministic state machine, checked clause by clause against one text. Serving two editions would put two behaviours behind many services (dimensions per attribute or per class, the producing federate always or on request), each to be specified, tested and kept consistent. MicroRTI puts that effort into implementing all of HLA 4 instead: every service of clauses 4 to 10 and the Management Object Model of clause 11.

Last, what this page describes exists only in HLA 4, the current edition of IEEE 1516: a standard protocol between federate and RTI, TLS and WebSocket, session resume, authorisation, directed interactions.

Logical time is older than HLA 4, and MicroRTI keeps its cost low (speed and footprint). A federation that runs as fast as possible, with the same results every run, can be run hundreds or thousands of times for a Monte-Carlo campaign or a design of experiments, a use that version 3 of the RPR FOM and the HLA 4 tutorial of I/ITSEC 2024 point to: see Monte-Carlo runs and designs of experiments.

Next steps