Show / Hide Table of Contents

Class EmptyGameClient

Empty Game client for IConfigContainers that do not have game clients.

Inheritance
object
EmptyGameClient
Implements
IGameClient
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Microsoft.Internal.Studios.Aruba.Infrastructure
Assembly: Aruba.Infrastructure.dll
Syntax
public class EmptyGameClient : IGameClient

Methods

View Source

Connect(GameClientConnectionContext, CancellationToken)

Establishes a connection with the game client if it isn't already connected. If client is already connected it should just return true.

Declaration
public Task<bool> Connect(GameClientConnectionContext connectionContext, CancellationToken cancellationToken)
Parameters
Type Name Description
GameClientConnectionContext connectionContext

The connection context containing the information needed to establish a connection.

CancellationToken cancellationToken

A cancellation token.

Returns
Type Description
Task<bool>

Return whether the Game Client is connected.

Implements

IGameClient
  • View Source
In this article
Back to top Generated by DocFX