Class RoomsResolverClient
- Namespace
- Coherence.Runtime
- Assembly
- Coherence.Runtime.dll
[Obsolete("Use CloudRooms to work with rooms in the coherence Cloud. Use ReplicationServerRoomsService to work with rooms in self-hosted Replication Servers.")]
[Deprecated("01/03/2023", 1, 0, 0, Reason = "RoomsResolverClient has been deprecated, use CloudRooms instead.")]
public class RoomsResolverClient : ResolverClient
- Inheritance
-
RoomsResolverClient
- Inherited Members
-
Constructors
RoomsResolverClient(IRequestFactory, AuthClient, IRuntimeSettings)
public RoomsResolverClient(IRequestFactory requestFactory, AuthClient authClient, IRuntimeSettings runtimeSettings)
Parameters
requestFactory
IRequestFactory
authClient
AuthClient
runtimeSettings
IRuntimeSettings
Fields
LocalMaxEntitiesPerClient
public const int LocalMaxEntitiesPerClient = 100
Field Value
- int
localRegion
public readonly string localRegion
Field Value
- string
Methods
CreateRoomAsync(string, int, string[], Dictionary<string, string>, bool)
public Task<RoomData> CreateRoomAsync(string region, int maxClients = 10, string[] tags = null, Dictionary<string, string> keyValues = null, bool findOrCreate = false)
Parameters
region
string
maxClients
int
tags
string[]
keyValues
Dictionary<string, string>
findOrCreate
bool
Returns
- Task<RoomData>
FetchRegionsAsync()
[Obsolete("Please use CloudService.FetchRegionsAsync instead.")]
[Deprecated("26/02/2023", 1, 0, 0, Reason = "CloudService has been implemented.")]
public Task<IReadOnlyList<string>> FetchRegionsAsync()
Returns
- Task<IReadOnlyList<string>>
FetchRoomsAsync(string, string[])
public Task<IReadOnlyList<RoomData>> FetchRoomsAsync(string region, string[] tags = null)
Parameters
region
string
tags
string[]
Returns
- Task<IReadOnlyList<RoomData>>
GetFetchRegionsCooldown()
[Obsolete("Please use CloudService.GetFetchRegionsCooldown instead.")]
[Deprecated("26/02/2023", 1, 0, 0, Reason = "CloudService has been implemented.")]
public TimeSpan GetFetchRegionsCooldown()
Returns
- TimeSpan
GetFetchRoomsCooldown()
public TimeSpan GetFetchRoomsCooldown()
Returns
- TimeSpan
RemoveRoomAsync(string, ulong, string)
public Task RemoveRoomAsync(string region, ulong uniqueID, string roomToken)
Parameters
region
string
uniqueID
ulong
roomToken
string
Returns
- Task