internal DispatcherEventLoop(IEventLoopGroup parent, IThreadFactory threadFactory) : base(parent, threadFactory, RejectedExecutionHandlers.Reject(), DefaultBreakoutInterval) { if (parent is null) { ThrowHelper.ThrowArgumentNullException(ExceptionArgument.parent); } string pipeName = "DotNetty_" + Guid.NewGuid().ToString("n"); PipeName = (PlatformApi.IsWindows ? @"\\.\pipe\" : "/tmp/") + pipeName; Start(); }
public DefaultEventLoop(IEventLoopGroup parent, IThreadFactory threadFactory, IEventLoopTaskQueueFactory queueFactory) : this(parent, threadFactory, RejectedExecutionHandlers.Reject(), queueFactory) { }
public DefaultEventLoop(IEventLoopGroup parent, IThreadFactory threadFactory, int maxPendingTasks) : this(parent, threadFactory, RejectedExecutionHandlers.Reject(), maxPendingTasks) { }
public DefaultEventLoop(IEventLoopGroup parent, int maxPendingTasks) : this(parent, RejectedExecutionHandlers.Reject(), maxPendingTasks) { }
public WorkerEventLoopGroup(DispatcherEventLoopGroup eventLoopGroup, int nThreads, IEventExecutorChooserFactory <WorkerEventLoop> chooserFactory) : this(eventLoopGroup, nThreads, chooserFactory, RejectedExecutionHandlers.Reject()) { }
protected SingleThreadEventLoopBase(IEventLoopGroup parent, IThreadFactory threadFactory, bool addTaskWakesUp) : this(parent, threadFactory, addTaskWakesUp, DefaultMaxPendingTasks, RejectedExecutionHandlers.Reject()) { }
public WorkerEventLoopGroup(DispatcherEventLoopGroup eventLoopGroup, int nThreads, IThreadFactory threadFactory) : this(eventLoopGroup, nThreads, threadFactory, RejectedExecutionHandlers.Reject()) { }
internal EventLoop(IEventLoopGroup parent) : this(parent, DefaultThreadFactory <EventLoop> .Instance, RejectedExecutionHandlers.Reject(), DefaultBreakoutInterval) { }
public EventLoopGroup(int nThreads, IThreadFactory threadFactory, TimeSpan breakoutInterval) : this(nThreads, threadFactory, RejectedExecutionHandlers.Reject(), breakoutInterval) { }
public EventLoopGroup(int nThreads, TimeSpan breakoutInterval) : this(nThreads, DefaultThreadFactory <EventLoop> .Instance, RejectedExecutionHandlers.Reject(), breakoutInterval) { }
public SingleThreadEventLoop(IEventLoopGroup parent, IThreadFactory threadFactory, TimeSpan breakoutInterval) : this(parent, threadFactory, RejectedExecutionHandlers.Reject(), breakoutInterval) { }