Exemple #1
0
        public GrpcChannelManager(IConsulClientFactory consulClientFactory,
                                  IGrpcChannelFactory grpcChannelFactory,
                                  IIocResolver iocResolver)
        {
            _consulClientFactory = consulClientFactory;
            _grpcChannelFactory  = grpcChannelFactory;
            _iocResolver         = iocResolver;

            GrpcServers = new Dictionary <string, Dictionary <string, Channel> >();
        }
 public GrpcHttpMiddleware(OcelotRequestDelegate next,
                           IGrpcChannelFactory grpcChannelFactory,
                           IGrpcServiceDescriptor grpcServiceDescriptor,
                           IGrpcRequestBuilder grpcRequestBuilder,
                           IOcelotLoggerFactory factory) : base(factory.CreateLogger <GrpcHttpMiddleware>())
 {
     this.next = next;
     this.grpcChannelFactory    = grpcChannelFactory;
     this.grpcServiceDescriptor = grpcServiceDescriptor;
     this.grpcRequestBuilder    = grpcRequestBuilder;
 }
Exemple #3
0
 public WalletExtensionClientFactory(IGrpcChannelFactory channelFactory)
 {
     _channelFactory = channelFactory;
 }
 public WalletSolidityClientFactory(IGrpcChannelFactory channelFactory)
 {
     _channelFactory = channelFactory;
 }
 public GRpcConnection(IServiceSubscriberFactory subscriberFactory, IGrpcChannelFactory grpcChannelFactory)
 {
     this._subscriberFactory  = subscriberFactory;
     this._grpcChannelFactory = grpcChannelFactory;
 }
Exemple #6
0
 public GRpcConnection(IGrpcChannelFactory grpcChannelFactory)
 {
     this._grpcChannelFactory = grpcChannelFactory;
 }
 public GrpcConnection(IGrpcChannelFactory grpcChannelFactory)
 {
     _grpcChannelFactory = grpcChannelFactory;
 }