public CzarCacheController(IClientAuthenticationRepository clientAuthenticationRepository, CzarOcelotConfiguration options,
                            IFileConfigurationRepository fileConfigurationRepository,
                            IInternalConfigurationCreator internalConfigurationCreator,
                            IClientRateLimitRepository clientRateLimitRepository,
                            IRpcRepository rpcRepository,
                            IMemoryCache cache)
 {
     _clientAuthenticationRepository = clientAuthenticationRepository;
     _options = options;
     _fileConfigurationRepository  = fileConfigurationRepository;
     _internalConfigurationCreator = internalConfigurationCreator;
     _clientRateLimitRepository    = clientRateLimitRepository;
     _rpcRepository = rpcRepository;
     _cache         = cache;
 }
Beispiel #2
0
 public CzarRpcProcessor(IRpcRepository rpcRepository, CzarOcelotConfiguration options, IOcelotCache <RemoteInvokeMessage> ocelotCache)
 {
     _rpcRepository = rpcRepository;
     _options       = options;
     _ocelotCache   = ocelotCache;
 }
Beispiel #3
0
 public RpcController(IRpcRepository rpcRepo)
 {
     rpcRepository = rpcRepo;
 }