Class ClientConnects
java.lang.Object
com.iohao.net.extension.client.join.ClientConnects
Registry and shared runtime resources for client connectors.
- Author:
- 渔民小镇
- date:
- 2023-07-07
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidput(ExternalJoinEnum joinEnum, ClientConnect connect) voidShuts down the event loop group shared by the built-in TCP and WebSocket connectors.
-
Constructor Details
-
ClientConnects
public ClientConnects()
-
-
Method Details
-
put
-
shutdownGracefully
public void shutdownGracefully()Shuts down the event loop group shared by the built-in TCP and WebSocket connectors. Call this method after all client channels have been closed and no new connection is being started. A later connection creates a new event loop group automatically.- Since:
- 25.6
-