Get SpatialOS

Sites

Menu

DefaultWorkerConnector Class

Namespace: Improbable.Gdk.Core
GDK package: Core
Source

Inheritance

Improbable.Gdk.Core.WorkerConnector


Fields

UseExternalIp Source
bool UseExternalIp

Denotes whether to connect using an external IP address.


Overrides

GetConnectionService Source
override ConnectionService GetConnectionService()

Determines which ConnectionService to use to connect to the SpatialOS Runtime.

Returns:
A ConnectionService object describing which connection servce to use.
GetConnectionParameters Source
override ConnectionParameters GetConnectionParameters(string workerType, ConnectionService service)

Retrieves the ConnectionParameters needed to be able to connect to any connection service.

Returns:
A ConnectionParameters object.

Parameters
  • string workerType : The type of worker you want to connect.
  • ConnectionService service : The connection service used to connect.
GetReceptionistConfig Source
override ReceptionistConfig GetReceptionistConfig(string workerType)

Retrieves the configuration needed to connect via the Receptionist service.

Returns:
A ReceptionistConfig object.

Parameters
  • string workerType : The type of worker you want to connect.
GetLocatorConfig Source
override LocatorConfig GetLocatorConfig()

Retrieves the configuration needed to connect via the Locator service.

Returns:
A LocatorConfig object.
GetAlphaLocatorConfig Source
override AlphaLocatorConfig GetAlphaLocatorConfig(string workerType)

Retrieves the configuration needed to connect via the Alpha Locator service.

Returns:
A AlphaLocatorConfig object.

Parameters
  • string workerType :

Notes:
  • This connection service is still in Alpha and does not provide an integration with Steam.

Search results

Was this page helpful?

Thanks for letting us know!

Thanks for your feedback

Need more help? Ask on the forums