Sites

Menu

Connection flows

Before reading this document, make sure you are familiar with:

Which connection flow to use

We provide two connection flows, which have different use cases depending on the kind of worker and the kind of deployment you want to connect to.

In all cases, your worker contains a reference to a Connection object after successfully connecting to the SpatialOS Runtime.

Receptionist connection flow

Use the Receptionist connection flow in the following cases:

  • Connecting a server-worker or a client-worker instance to a local deployment.
  • Connecting a server-worker instance to a cloud deployment.
  • (For debugging) Connecting a server-worker or a client-worker instance to a cloud deployment from your local machine.

Locator connection flow

Use the Locator connection flow for:

Search results

Was this page helpful?

Thanks for letting us know!

Thanks for your feedback

Need more help? Ask on the forums