构造器和说明 |
---|
TcpServer(int port,
SocketHandler handler) |
public TcpServer(int port, SocketHandler handler)
protected void listen(Socket socket)
public SocketHandler getHandler()
public void setHandler(SocketHandler handler)
public void stop()
Copyright © 2017. All rights reserved.