public AmpTcpServerBootstrap( ISocketService <AmpMessage> socketService, IChannelHandlerPipeline handlerPipeline, ILoggerFactory loggerFactory, IOptions <RpcServerOptions> hostOption = null) : base(socketService, handlerPipeline, loggerFactory, hostOption) { }
public TcpServerBootstrap( ISocketService <TMessage> socketService, IChannelHandlerPipeline handlerPipeline, ILoggerFactory loggerFactory, IOptions <TcpHostOption> hostOption = null ) { Preconditions.CheckNotNull(handlerPipeline, nameof(handlerPipeline)); Preconditions.CheckNotNull(socketService, nameof(socketService)); _options = hostOption?.Value ?? new TcpHostOption(); _socketService = socketService; _handlerPipeline = handlerPipeline; _logger = loggerFactory.CreateLogger(GetType()); }
public TcpClient(TcpClientOption clientOption, IChannelHandlerPipeline handlerPipeline) { _clientOption = clientOption; _handlerPipeline = handlerPipeline; InitBootstrap(); }
public TcpClient(IChannelHandlerPipeline handlerPipeline) : this(new TcpClientOption(), handlerPipeline) { }
public TcpClient(IOptions <TcpClientOption> clientOption, IChannelHandlerPipeline handlerPipeline) : this(clientOption.Value, handlerPipeline) { }
public RpcSocketClient(IOptions <RpcClientOptions> clientOption, IChannelHandlerPipeline handlerPipeline) : base(clientOption, handlerPipeline) { }