Class SocketMicroBootstrap
java.lang.Object
com.iohao.net.external.core.netty.micro.SocketMicroBootstrap
- All Implemented Interfaces:
MicroBootstrap
Server for connecting with real players, handling netty servers for tcp and websocket.
- Author:
- 渔民小镇
- date:
- 2023-05-27
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidstartup(int port, MicroBootstrapFlow<?> microBootstrapFlow) Starts the server that connects with real users
-
Constructor Details
-
SocketMicroBootstrap
public SocketMicroBootstrap()
-
-
Method Details
-
startup
Description copied from interface:MicroBootstrapStarts the server that connects with real users- Specified by:
startupin interfaceMicroBootstrap- Parameters:
port- portmicroBootstrapFlow- microBootstrapFlow
-