public final class SncpServer extends Server
详情见: http://www.redkale.org
address, backlog, bufferCapacity, bufferPoolSize, charset, config, context, executor, logger, maxbody, prepare, protocol, readTimeoutSecond, RESNAME_ROOT, responsePoolSize, serverChannel, serverStartTime, threads, watch, writeTimeoutSecond| 构造器和说明 |
|---|
SncpServer() |
SncpServer(long serverStartTime,
WatchFactory watch) |
| 限定符和类型 | 方法和说明 |
|---|---|
SncpDynServlet |
addService(ServiceWrapper entry) |
protected Context |
createContext() |
java.util.List<SncpServlet> |
getSncpServlets() |
void |
init(AnyValue config) |
createFormat, destroy, getLogger, getProtocol, getSocketAddress, loadLib, shutdown, startpublic SncpServer()
public SncpServer(long serverStartTime,
WatchFactory watch)
public void init(AnyValue config) throws java.lang.Exception
public SncpDynServlet addService(ServiceWrapper entry)
public java.util.List<SncpServlet> getSncpServlets()
protected Context createContext()
createContext 在类中 Server