public class FlashPolicyServerStarter extends Object
Modifier and Type | Class and Description |
---|---|
static class |
FlashPolicyServerStarter.CheckRunnable |
Modifier and Type | Field and Description |
---|---|
static ServerAioHandler |
aioHandler |
static ServerAioListener |
aioListener |
static int |
count |
static ServerTioConfig |
serverTioConfig |
static TioServer |
tioServer |
Constructor and Description |
---|
FlashPolicyServerStarter() |
Modifier and Type | Method and Description |
---|---|
static void |
start(String ip,
Integer port) |
static void |
start(String ip,
Integer port,
SynThreadPoolExecutor tioExecutor,
ThreadPoolExecutor groupExecutor) |
public static ServerAioHandler aioHandler
public static ServerAioListener aioListener
public static ServerTioConfig serverTioConfig
public static TioServer tioServer
public static int count
public static void start(String ip, Integer port, SynThreadPoolExecutor tioExecutor, ThreadPoolExecutor groupExecutor)
ip
- 可以为nullport
- 如果为null,则用默认的端口tioExecutor
- groupExecutor
- Copyright © 2021. All rights reserved.