public NettyServerBootstrap(IServerMessageHandler <TMessage> handler, IMessageCodecs <TMessage> msgCodecs, ILoggerFactory factory, IContextAccessor <TMessage> contextAccessor) { this._msgCodecs = msgCodecs; this._handler = handler; this._contextAccessor = contextAccessor; this.Logger = factory.CreateLogger(this.GetType()); this._factory = factory; }
public NettyClientBootstrap(IMessageHandler <TMessage> handler, IMessageCodecs <TMessage> msgCodecs, IOptions <RpcClientOption> option) { this._clientOption = option; _bootstrap = InitBootstrap(); _handler = handler; _msgCodecs = msgCodecs; }
public NettyClientBootstrap(IClientMessageHandler <TMessage> handler, IMessageCodecs <TMessage> msgCodecs, IOptions <RpcClientOption> option, ILoggerFactory factory) { this._clientOption = option; _bootstrap = InitBootstrap(); _handler = handler; _msgCodecs = msgCodecs; this.Logger = factory.CreateLogger(this.GetType()); this._factory = factory; }
public NettyRpcMultiplexContext(Bootstrap bootstrap, IMessageCodecs <TMessage> codecs, ILogger logger) { this._bootstrap = bootstrap; this._codecs = codecs; this.Logger = logger; }
public NettyRpcContext(IChannel channel, IMessageCodecs <TMessage> codecs) { this._channel = channel; this._codecs = codecs; }
public NettyServerBootstrap(IServerMessageHandler <TMessage> handler, IMessageCodecs <TMessage> msgCodecs, ILoggerFactory factory) : this(handler, msgCodecs, factory, null) { }
public ChannelDecodeHandler(IMessageCodecs <TMessage> codecs) { this._codecs = codecs; this._nettyBufferManager = new NettyBufferManager(); }
public NettyServerBootstrap(IMessageHandler <TMessage> handler, IMessageCodecs <TMessage> msgCodecs, IContextAccessor <TMessage> contextAccessor) { this._msgCodecs = msgCodecs; this._handler = handler; this._contextAccessor = contextAccessor; }
public NettyServerBootstrap(IMessageHandler <TMessage> handler, IMessageCodecs <TMessage> msgCodecs) : this(handler, msgCodecs, null) { }
public NettyRpcMultiplexContext(Bootstrap bootstrap, IMessageCodecs <TMessage> codecs) { this._bootstrap = bootstrap; this._codecs = codecs; }
public ChannelDecodeHandler(IMessageCodecs <TMessage> codecs) { this._codecs = codecs; }