Class NioServer
java.lang.Object
org.summerboot.jexpress.nio.server.NioServer
- Author:
- Changski Tie Zheng Zhang 张铁铮, 魏泽北, 杜旺财, 杜富贵
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static io.netty.channel.EventLoopGroupprotected static NIOStatusListenerprotected static final org.apache.logging.log4j.Loggerprotected static NioConfigprotected static ScheduledExecutorServiceprotected static io.netty.channel.EventLoopGroup -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidbind()static voidbind(List<InetSocketAddress> bindingAddresses) static voidstatic voidshutdown()
-
Field Details
-
log
protected static final org.apache.logging.log4j.Logger log -
nioCfg
-
bossGroup
protected static io.netty.channel.EventLoopGroup bossGroup -
workerGroup
protected static io.netty.channel.EventLoopGroup workerGroup -
QPS_SERVICE
-
listener
-
-
Constructor Details
-
NioServer
public NioServer()
-
-
Method Details
-
setStatusListener
-
bind
-
bind
public static void bind(List<InetSocketAddress> bindingAddresses) throws InterruptedException, SSLException - Parameters:
bindingAddresses-- Throws:
InterruptedExceptionSSLException
-
shutdown
public static void shutdown()
-