예제 #1
0
        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;
 }