Class ExternalWriteKit

java.lang.Object
com.iohao.net.external.core.message.ExternalWriteKit

public final class ExternalWriteKit extends Object
Writes outbound messages to a user session resolved from UserSessions.
Since:
25.1
Author:
渔民小镇
date:
2025-11-12
  • Method Details

    • writeAndFlush

      public static void writeAndFlush(CommunicationMessage message, UserSessions<?,?> userSessions)
      Resolve the target user session and flush the message if the session exists.
      Parameters:
      message - outbound communication message
      userSessions - session container used to resolve the user channel