public class TcpAioServer extends ServerBase<TcpAioChannelAssistant> implements ChannelSupporter<org.smartboot.socket.transport.AioSession>
| 构造器和说明 |
|---|
TcpAioServer(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 TcpAioServer(ServerConfig config)
public Server start() throws IOException
start 在接口中 ServerIOExceptionpublic void stop()
stop 在接口中 Serverstop 在类中 ServerBase<TcpAioChannelAssistant>Copyright © 2024. All rights reserved.