/** * Returns the configured {@link EventLoopGroup} or {@code null} if non is configured yet. */ @SuppressWarnings("deprecation") public final EventLoopGroup group() { return bootstrap.group(); }
/** * Returns the configured {@link EventLoopGroup} or {@code null} if non is configured yet. */ @SuppressWarnings("deprecation") public final EventLoopGroup group() { return bootstrap.group(); }
/** * Returns the configured {@link EventLoopGroup} or {@code null} if non is configured yet. */ @SuppressWarnings("deprecation") public final EventLoopGroup group() { return bootstrap.group(); }
/** * Set the {@link EventLoopGroup} for the parent (acceptor) and the child (client). These * {@link EventLoopGroup}'s are used to handle all the events and IO for {@link ServerChannel} and * {@link Channel}'s. */ public ServerBootstrap group(EventLoopGroup parentGroup, EventLoopGroup childGroup) { super.group(parentGroup); if (childGroup == null) { throw new NullPointerException("childGroup"); } if (this.childGroup != null) { throw new IllegalStateException("childGroup set already"); } this.childGroup = childGroup; return this; }
/** * Set the {@link EventLoopGroup} for the parent (acceptor) and the child (client). These * {@link EventLoopGroup}'s are used to handle all the events and IO for {@link ServerChannel} and * {@link Channel}'s. */ public ServerBootstrap group(EventLoopGroup parentGroup, EventLoopGroup childGroup) { super.group(parentGroup); if (childGroup == null) { throw new NullPointerException("childGroup"); } if (this.childGroup != null) { throw new IllegalStateException("childGroup set already"); } this.childGroup = childGroup; return this; }
/** * Set the {@link EventLoopGroup} for the parent (acceptor) and the child (client). These * {@link EventLoopGroup}'s are used to handle all the events and IO for {@link ServerChannel} and * {@link Channel}'s. */ public ServerBootstrap group(EventLoopGroup parentGroup, EventLoopGroup childGroup) { super.group(parentGroup); if (childGroup == null) { throw new NullPointerException("childGroup"); } if (this.childGroup != null) { throw new IllegalStateException("childGroup set already"); } this.childGroup = childGroup; return this; }
/** * Returns the configured {@link EventLoopGroup} or {@code null} if non is configured yet. */ @SuppressWarnings("deprecation") public final EventLoopGroup group() { return bootstrap.group(); }
/** * Returns the configured {@link EventLoopGroup} or {@code null} if non is configured yet. */ @SuppressWarnings("deprecation") public final EventLoopGroup group() { return bootstrap.group(); }
/** * Returns the configured {@link EventLoopGroup} or {@code null} if non is configured yet. */ @SuppressWarnings("deprecation") public final EventLoopGroup group() { return bootstrap.group(); }
/** * Set the {@link EventLoopGroup} for the parent (acceptor) and the child (client). These * {@link EventLoopGroup}'s are used to handle all the events and IO for {@link ServerChannel} and * {@link Channel}'s. */ public ServerBootstrap group(EventLoopGroup parentGroup, EventLoopGroup childGroup) { super.group(parentGroup); if (childGroup == null) { throw new NullPointerException("childGroup"); } if (this.childGroup != null) { throw new IllegalStateException("childGroup set already"); } this.childGroup = childGroup; return this; }
/** * Set the {@link EventLoopGroup} for the parent (acceptor) and the child (client). These * {@link EventLoopGroup}'s are used to handle all the events and IO for {@link ServerChannel} and * {@link Channel}'s. */ public ServerBootstrap group(EventLoopGroup parentGroup, EventLoopGroup childGroup) { super.group(parentGroup); if (childGroup == null) { throw new NullPointerException("childGroup"); } if (this.childGroup != null) { throw new IllegalStateException("childGroup set already"); } this.childGroup = childGroup; return this; }
/** * Set the {@link EventLoopGroup} for the parent (acceptor) and the child (client). These * {@link EventLoopGroup}'s are used to handle all the events and IO for {@link ServerChannel} and * {@link Channel}'s. */ public ServerBootstrap group(EventLoopGroup parentGroup, EventLoopGroup childGroup) { super.group(parentGroup); if (childGroup == null) { throw new NullPointerException("childGroup"); } if (this.childGroup != null) { throw new IllegalStateException("childGroup set already"); } this.childGroup = childGroup; return this; }
public B eventLoop(EventLoopGroup singleGroup) { serverBootstrap.group(singleGroup); return returnBuilder(); }
public B eventLoop(EventLoopGroup singleGroup) { serverBootstrap.group(singleGroup); return returnBuilder(); }
protected void configureDefaultEventloopGroup() { serverBootstrap.group(RxNetty.getRxEventLoopProvider().globalServerEventLoop()); }
protected void configureDefaultEventloopGroup() { serverBootstrap.group(RxNetty.getRxEventLoopProvider().globalServerEventLoop()); }
public S build() { if (null == serverChannelClass) { serverChannelClass = defaultServerChannelClass(); EventLoopGroup acceptorGroup = serverBootstrap.group(); if (null == acceptorGroup) { configureDefaultEventloopGroup(); if (null == serverBootstrap.group()) { if (defaultServerChannelClass() == serverChannelClass) { configureDefaultEventloopGroup();
public S build() { if (null == serverChannelClass) { serverChannelClass = defaultServerChannelClass(); EventLoopGroup acceptorGroup = serverBootstrap.group(); if (null == acceptorGroup) { configureDefaultEventloopGroup(); if (null == serverBootstrap.group()) { if (defaultServerChannelClass() == serverChannelClass) { configureDefaultEventloopGroup();