Sites

Menu

LocatorFlow Class

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

Represents the Locator connection flow.

Inheritance

Improbable.Gdk.Core.IConnectionFlow


Fields

LocatorHost Source
string LocatorHost

The IP address of the Locator to use when connecting.
LocatorParameters Source
LocatorParameters LocatorParameters

The parameters to use to connect to the Locator.


Constructors

LocatorFlow Source
LocatorFlow(IConnectionFlowInitializer<LocatorFlow> initializer = null)

Initializes a new instance of the LocatorFlow class.

Parameters


Methods

CreateAsync Source
async Task<Connection> CreateAsync(ConnectionParameters parameters, CancellationToken? token = null)

Creates a Connection asynchronously.

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

Parameters
  • ConnectionParameters parameters : The connection parameters to use for the connection.
  • CancellationToken? token : A cancellation token which should cancel the underlying connection attempt.
SelectDeploymentName Source
string SelectDeploymentName(DeploymentList deploymentList)

Selects a deployment to connect to.

Returns:
The name of the deployment to connect to.

Parameters
  • DeploymentList deploymentList : The list of deployments to choose from.

Exceptions:

Search results

Was this page helpful?

Thanks for letting us know!

Thanks for your feedback

Need more help? Ask on the forums