public abstract class EzyServerBootstrap
extends com.tvd12.ezyfox.util.EzyLoggable
implements com.tvd12.ezyfox.util.EzyStartable, com.tvd12.ezyfox.util.EzyDestroyable
| Modifier and Type | Field and Description |
|---|---|
protected EzyServerContext |
context |
protected EzyBootstrap |
localBootstrap |
| Constructor and Description |
|---|
EzyServerBootstrap() |
| Modifier and Type | Method and Description |
|---|---|
void |
destroy() |
protected EzyHttpSetting |
getHttpSetting() |
protected EzyServer |
getServer() |
protected EzyConfig |
getServerConfig() |
protected EzySettings |
getServerSettings() |
protected EzySocketSetting |
getSocketSetting() |
protected EzyThreadPoolSizeSetting |
getThreadPoolSizeSetting() |
protected EzyUdpSetting |
getUdpSetting() |
protected EzyWebSocketSetting |
getWebSocketSetting() |
protected void |
notifyServerReady() |
protected void |
notifyServerReady0() |
protected void |
printBanner() |
protected void |
setupServer() |
void |
start() |
protected void |
startHttpBootstrap() |
protected void |
startLocalBootstrap() |
protected abstract void |
startOtherBootstraps(Runnable callback) |
protected EzyServerContext context
protected EzyBootstrap localBootstrap
public void start()
throws Exception
start in interface com.tvd12.ezyfox.util.EzyStartableExceptionprotected void setupServer()
protected abstract void startOtherBootstraps(Runnable callback) throws Exception
Exceptionpublic void destroy()
destroy in interface com.tvd12.ezyfox.util.EzyDestroyableprotected final void notifyServerReady()
protected final void printBanner()
protected void notifyServerReady0()
protected EzyServer getServer()
protected EzyConfig getServerConfig()
protected EzySettings getServerSettings()
protected EzyHttpSetting getHttpSetting()
protected EzySocketSetting getSocketSetting()
protected EzyUdpSetting getUdpSetting()
protected EzyWebSocketSetting getWebSocketSetting()
protected EzyThreadPoolSizeSetting getThreadPoolSizeSetting()
Copyright © 2021 Young Monkeys. All rights reserved.