Show / Hide Table of Contents

Interface IClientManager<TKey>

Manages connections lifetime to the selected keys.

Inherited Members
ICanDisconnect<TKey>.DisconnectAsync(IEnumerable<TKey>)
ICanDisconnect<TKey>.Disconnect(IEnumerable<TKey>)
ICanDisconnect<TKey>.DisconnectAsync(TKey)
ICanDisconnect<TKey>.Disconnect(TKey)
IHoldsBaggage<TKey>.GetBaggage<TBaggage>(TKey)
IHoldsBaggage<TKey>.GetAllBaggage<TBaggage>()
Namespace: Microsoft.XboxStudios.ClientManager
Assembly: ClientManager.Abstractions.dll
Syntax
public interface IClientManager<TKey> : ICanDisconnect<TKey>, IHoldsBaggage<TKey> where TKey : notnull
Type Parameters
Name Description
TKey

The key to use to identify a specific client.

Remarks

If using client manager as a singleton, make sure to unsubscribe from its events on cleanup.

Methods

View Source

CreateScope()

Creates a connection scope to manage reservations.

Declaration
IConnectionScope<TKey> CreateScope()
Returns
Type Description
IConnectionScope<TKey>

A connection scope.

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