• 大小: 0.08M
    文件类型: .rar
    金币: 1
    下载: 0 次
    发布日期: 2021-01-17
  • 语言: Java
  • 标签: websocket  群发  消息  

资源简介

websocket群发和指定用户发,用户之间可以互相发消息,工作人员可以给指定用户或者群体发消息

资源截图

代码片段和文件信息

package com.example.websocket.websocketdemo;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.web.socket.server.standard.ServerEndpointExporter;

@Configuration
public class WebSocketConfig {

    @Bean
    public ServerEndpointExporter serverEndpointExporter() {
        return new ServerEndpointExporter();
    }
}

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----

     文件        249  2017-11-15 10:43  websocket\.gitignore

     文件         13  2017-11-15 10:43  websocket\.idea\.name

     文件        630  2017-11-15 10:44  websocket\.idea\compiler.xml

     文件        172  2017-11-15 10:44  websocket\.idea\encodings.xml

     文件        575  2017-11-15 10:44  websocket\.idea\libraries\Maven__ch_qos_logback_logback_classic_1_1_11.xml

     文件        554  2017-11-15 10:44  websocket\.idea\libraries\Maven__ch_qos_logback_logback_core_1_1_11.xml

     文件        522  2017-11-15 10:44  websocket\.idea\libraries\Maven__com_fasterxml_classmate_1_3_4.xml

     文件        644  2017-11-15 10:44  websocket\.idea\libraries\Maven__com_fasterxml_jackson_core_jackson_annotations_2_8_0.xml

     文件        602  2017-11-15 10:44  websocket\.idea\libraries\Maven__com_fasterxml_jackson_core_jackson_core_2_8_10.xml

     文件        630  2017-11-15 10:44  websocket\.idea\libraries\Maven__com_fasterxml_jackson_core_jackson_databind_2_8_10.xml

     文件        546  2017-11-15 10:44  websocket\.idea\libraries\Maven__com_jayway_jsonpath_json_path_2_2_0.xml

     文件        700  2017-11-15 10:44  websocket\.idea\libraries\Maven__com_vaadin_external_google_android_json_0_0_20131108_vaadin1.xml

     文件        611  2017-11-15 10:44  websocket\.idea\libraries\Maven__javax_validation_validation_api_1_1_0_Final.xml

     文件        455  2017-11-15 10:44  websocket\.idea\libraries\Maven__junit_junit_4_12.xml

     文件        542  2017-11-15 10:44  websocket\.idea\libraries\Maven__net_minidev_accessors_smart_1_1.xml

     文件        521  2017-11-15 10:44  websocket\.idea\libraries\Maven__net_minidev_json_smart_2_2_1.xml

     文件        625  2017-11-15 10:44  websocket\.idea\libraries\Maven__org_apache_tomcat_embed_tomcat_embed_core_8_5_23.xml

     文件        611  2017-11-15 10:44  websocket\.idea\libraries\Maven__org_apache_tomcat_embed_tomcat_embed_el_8_5_23.xml

     文件        660  2017-11-15 10:44  websocket\.idea\libraries\Maven__org_apache_tomcat_embed_tomcat_embed_websocket_8_5_23.xml

     文件        636  2017-11-15 10:44  websocket\.idea\libraries\Maven__org_apache_tomcat_tomcat_annotations_api_8_5_23.xml

     文件        535  2017-11-15 10:44  websocket\.idea\libraries\Maven__org_assertj_assertj_core_2_6_0.xml

     文件        532  2017-11-15 10:44  websocket\.idea\libraries\Maven__org_hamcrest_hamcrest_core_1_3.xml

     文件        553  2017-11-15 10:44  websocket\.idea\libraries\Maven__org_hamcrest_hamcrest_library_1_3.xml

     文件        634  2017-11-15 10:44  websocket\.idea\libraries\Maven__org_hibernate_hibernate_validator_5_3_5_Final.xml

     文件        608  2017-11-15 10:44  websocket\.idea\libraries\Maven__org_jboss_logging_jboss_logging_3_3_1_Final.xml

     文件        549  2017-11-15 10:44  websocket\.idea\libraries\Maven__org_mockito_mockito_core_1_10_19.xml

     文件        508  2017-11-15 10:44  websocket\.idea\libraries\Maven__org_objenesis_objenesis_2_1.xml

     文件        472  2017-11-15 10:44  websocket\.idea\libraries\Maven__org_ow2_asm_asm_5_0_3.xml

     文件        537  2017-11-15 10:44  websocket\.idea\libraries\Maven__org_skyscreamer_jsonassert_1_4_0.xml

     文件        548  2017-11-15 10:44  websocket\.idea\libraries\Maven__org_slf4j_jcl_over_slf4j_1_7_25.xml

............此处省略86个文件信息

评论

共有 条评论