public class TcpNioServer extends ServerBase<TcpNioChannelAssistant> implements ChannelSupporter<SocketChannel>
| 构造器和说明 |
|---|
TcpNioServer(ServerConfig config) |
| 限定符和类型 | 方法和说明 |
|---|---|
String |
getTitle() |
Server |
start() |
void |
stop() |
config, getAssistant, getConfig, getProcessor, listen, onClose, onError, onMessage, onOpen, prestop, prestopDo, stopDoclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetAssistant, getConfig, getProcessorpublic TcpNioServer(ServerConfig config)
public Server start() throws IOException
start 在接口中 ServerIOExceptionpublic void stop()
stop 在接口中 Serverstop 在类中 ServerBase<TcpNioChannelAssistant>Copyright © 2024. All rights reserved.