These are the docs for 13.3, an old version of SpatialOS. The docs for this version are frozen: we do not correct, update or republish them. 14.5 is the newest →

Java worker API

The Java worker API closely mirrors the C# worker API. The full API reference is available as in-code documentation.


The most important units of functionality in the Java worker API are:

  • The improbable.worker.Locator, which is responsible for querying for and connecting to remote cloud deployments.
  • The improbable.worker.Connection, which represents a worker’s connection to a SpatialOS simulated world.
  • The improbable.worker.Dispatcher, which is responsible for invoking user-provided callbacks based on data received from SpatialOS via the improbable.worker.Connection.
  • The improbable.worker.Entity, which is a container for the component data associated with a single entity.

Search results

Was this page helpful?

Thanks for letting us know!

Thanks for your feedback

Need more help? Ask on the forums