Class ChatWebSocketHelper

java.lang.Object
org.apache.openmeetings.core.util.ChatWebSocketHelper

public class ChatWebSocketHelper extends Object
  • Field Details

  • Method Details

    • getMessage

      public static com.github.openjson.JSONObject getMessage(User curUser, List<ChatMessage> list, BiConsumer<com.github.openjson.JSONObject,User> uFmt)
    • send

      public static boolean send(org.apache.openmeetings.util.ws.IClusterWsMessage msg)
    • sendRoom

      public static void sendRoom(ChatMessage m, com.github.openjson.JSONObject msg)
    • sendUser

      public static void sendUser(Long userId, ChatMessage m, com.github.openjson.JSONObject msg)
    • sendAll

      public static void sendAll(ChatMessage m, com.github.openjson.JSONObject msg)