SpatialOSConnectionHandlerBuilder Class

Namespace: Improbable.Gdk.CoreSource

Inheritance

Improbable.Gdk.Core.IConnectionHandlerBuilder


Properties

WorkerType Source
string WorkerType { get; }


Methods

SetConnectionFlow Source
SpatialOSConnectionHandlerBuilder SetConnectionFlow(IConnectionFlow flow)

Sets the connection flow implementation to use when creating the underlying SpatialOS connection.

Returns:
Itself

Parameters

SetConnectionParameters Source
SpatialOSConnectionHandlerBuilder SetConnectionParameters(ConnectionParameters parameters)

Sets the connection parameters to use for the underlying SpatialOS connection.

Returns:
Itself

Parameters
  • ConnectionParameters parameters : The connection parameters to use.

CreateAsync Source
async Task<IConnectionHandler> CreateAsync(CancellationToken? token = null)

Creates a IConnectionHandler asynchronously.

Returns:
A task that represents the asynchronous creation of the connection handler object.

Parameters
  • CancellationToken? token : A cancellation token which should cancel the underlying connection attempt.

Updated about a year ago


SpatialOSConnectionHandlerBuilder Class


Suggested Edits are limited on API Reference Pages

You can only suggest edits to Markdown body content, but not to the API spec.