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