Interface IClientManager<TKey>
Manages connections lifetime to the selected keys.
Inherited Members
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 SourceCreateScope()
Creates a connection scope to manage reservations.
Declaration
IConnectionScope<TKey> CreateScope()
Returns
Type | Description |
---|---|
IConnectionScope<TKey> | A connection scope. |