MCPcopy Create free account
hub / github.com/chengchuanqiang/WebChat / getMessage

Method getMessage

src/main/java/com/ccq/webSocket/Message.java:45–57  ·  view source on GitHub ↗

组装信息返回给前台 @param message 交互信息 @param type 信息类型 @param userList 在线列表 @return "massage" : { "from" : "xxx", "to" : "xxx", "content" : "xxx", "time" : "xxxx.xx.xx" }, "type" : {notice|message}, "list" : {[xx],[xx],[xx]}

(String message,String type,Collection<OnlineUser> userList)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 6

onOpenMethod · 0.95
onCloseMethod · 0.95
onMessageMethod · 0.95
broadcastMethod · 0.80
singleSendMethod · 0.80
onErrorMethod · 0.80

Calls 1

getJsonConfigMethod · 0.95

Tested by

no test coverage detected