public AWSHubCallerClients(IAWSSocketConnectionStore <SocketConnection> socketConnectionStore, IAWSSocketManager awsSocketManager) { this._socketConnectionStore = socketConnectionStore; this._awsSocketManager = awsSocketManager; _allClientProxy = new AWSClientProxy(((x) => x.GetAllClients()), _socketConnectionStore, _awsSocketManager); }
public AWSClientProxy(Func <IAWSSocketConnectionStore <SocketConnection>, Task <List <SocketConnection> > > getConnections, IAWSSocketConnectionStore <SocketConnection> connectionStore, IAWSSocketManager awsSocketManager ) { this._getConnections = getConnections; this._connectionStore = connectionStore; this._awsSocketManager = awsSocketManager; }
public TestHub( HubCallerContext hubCallerContext, IGroupManager groups, IHubClients clients, ILogger <TestHub> logger, IAWSSocketConnectionStore <SocketConnection> connectionStore ) : base(hubCallerContext, groups, clients) { this._logger = logger; this._connectionStore = connectionStore; }
public UnitTest1(Fixture fixture) { this.fixture = fixture; this._connectionStore = new DynamoDbSocketConnectionStore(fixture.Context, null); }
public AWSSocketGroupManager(IAWSSocketConnectionStore <SocketConnection> connectionStore) { this._connectionStore = connectionStore; }
public AWSSocketManager(IAmazonApiGatewayManagementApi apiGatewayManagementApi, IAWSSocketConnectionStore <SocketConnection> connectionStore, ILogger <AWSSocketManager> logger) { this._apiGatewayManagementApi = apiGatewayManagementApi; this._connectionStore = connectionStore; this._logger = logger; }