12 references to GroupAction
Microsoft.AspNetCore.SignalR.Microbenchmarks (1)
RedisProtocolBenchmark.cs (1)
36
_groupCommand = new RedisGroupCommand(id: 42, serverName: "Server",
GroupAction
.Add, groupName: "group", connectionId: "connection");
Microsoft.AspNetCore.SignalR.StackExchangeRedis (9)
Internal\RedisGroupCommand.cs (2)
21
public
GroupAction
Action { get; }
33
public RedisGroupCommand(int id, string serverName,
GroupAction
action, string groupName, string connectionId)
Internal\RedisProtocol.cs (2)
214
var
action = (
GroupAction
)reader.ReadByte();
RedisHubLifetimeManager.cs (5)
221
return SendGroupActionAndWaitForAck(connectionId, groupName,
GroupAction
.Add);
237
return SendGroupActionAndWaitForAck(connectionId, groupName,
GroupAction
.Remove);
346
private async Task SendGroupActionAndWaitForAck(string connectionId, string groupName,
GroupAction
action)
496
if (groupMessage.Action ==
GroupAction
.Remove)
501
if (groupMessage.Action ==
GroupAction
.Add)
Microsoft.AspNetCore.SignalR.StackExchangeRedis.Tests (2)
RedisProtocolTests.cs (2)
59
CreateTestData("GroupAdd", new RedisGroupCommand(42, "S",
GroupAction
.Add, "G", "C" ), 0x95, 0x2A, 0xA1, (byte)'S', 0x01, 0xA1, (byte)'G', 0xA1, (byte)'C'),
60
CreateTestData("GroupRemove", new RedisGroupCommand(42, "S",
GroupAction
.Remove, "G", "C" ), 0x95, 0x2A, 0xA1, (byte)'S', 0x02, 0xA1, (byte)'G', 0xA1, (byte)'C'),