Skip to content

Java Source Code

GIT Location

Source code can be checked out from the public git https://github.com/averbraeck/sim0mq-java. Releases can be found at https://github.com/averbraeck/sim0mq-java/releases.

Java API Documentation

Java API Documentation can be found at https://sim0mq.org/docs/latest/apidocs/index.html. Java API documentation of the underlying message structure can be found at https://djutils.org/docs/latest/djutils-serialization/apidocs/index.html.

Java Code Documentation

Java code Documentation can be found at https://sim0mq.org/docs/latest. Java code documentation of the underlying message structure can be found at https://djutils.org/docs/latest/djutils-serialization.

Package structure

SIM0MQ is divided into a number of packages:

  • org.sim0mq with generic classes such as the Sim0MQException.
  • org.sim0mq.federatestarter provides a reference implementation of a Federate Starter.
  • org.sim0mq.federationmanager provides an abstract implementation of a Federation Manager.
  • org.sim0mq.message containing the basic message structures such as the abstract Sim0MQMessage and the abstract Sim0MQReply.
  • org.sim0mq.message.types which defines some types in addition to the types included in djutils-serialization.
  • org.sim0mq.message.federatestarter provides all messages sent by a Federate Starter.
  • org.sim0mq.message.federationmanager provides all messages sent by a Federation Manager.
  • org.sim0mq.message.heartbeat provides messages to establish whether federates are still alive.
  • org.sim0mq.message.modelcontroller provides all messages sent by a Model (e.g., status and statistics).