Class ExternalWriteKit
java.lang.Object
com.iohao.net.external.core.message.ExternalWriteKit
Writes outbound messages to a user session resolved from
UserSessions.- Since:
- 25.1
- Author:
- 渔民小镇
- date:
- 2025-11-12
-
Method Summary
Modifier and TypeMethodDescriptionstatic voidwriteAndFlush(CommunicationMessage message, UserSessions<?, ?> userSessions) Resolve the target user session and flush the message if the session exists.
-
Method Details
-
writeAndFlush
Resolve the target user session and flush the message if the session exists.- Parameters:
message- outbound communication messageuserSessions- session container used to resolve the user channel
-