public AbstractConnectionFactory(Codec codec, IChannelHandler heartbeatHandler, IChannelHandler handler, ConfigurableInstance confInstance) { this.confInstance = confInstance; this.codec = codec ?? throw new ArgumentException("null codec"); this.heartbeatHandler = heartbeatHandler; this.handler = handler ?? throw new ArgumentException("null handler"); }
public RpcConnectionFactory(ConcurrentDictionary <Type, UserProcessor> userProcessors, ConfigurableInstance configInstance) : base(new RpcCodec(), new HeartbeatHandler(), new RpcHandler(userProcessors), configInstance) { }
public DefaultConnectionFactory(Codec codec, IChannelHandler heartbeatHandler, IChannelHandler handler, ConfigurableInstance configInstance) : base(codec, heartbeatHandler, handler, configInstance) { }