WebSocket-Server-Vertx:基于Vertx实现的websocket消息服务,支持集群部署-源码

上传者: 42131618 | 上传时间: 2021-07-22 11:56:55 | 文件大小: 55KB | 文件类型: ZIP
WebSocket-Server-Vertx 基于Vertx实现的websocket消息服务,支持集群部署。 启动步骤 mvn package 修改default-zookeeper.json自定义zookeeper地址。 修改default-websocket.json自定义websocket服务配置,包括: serverCode:服务名称 serverHost:服务地址 serverPort:服务端口 remoteHost:心跳服务器地址 remotePort:心跳服务器端口 java -jar Console-WebSocket-1.0-fat.jar -cluster java -cp Cosole-WebSocket.1.0-fat.jar: io.vertx.core.Launcher run "com.vertx.websocket.server.verticles.Star

文件下载

资源详情

[{"title":"( 26 个子文件 55KB ) WebSocket-Server-Vertx:基于Vertx实现的websocket消息服务,支持集群部署-源码","children":[{"title":"WebSocket-Server-Vertx-master","children":[{"title":"pom.xml <span style='color:#111;'> 4.17KB </span>","children":null,"spread":false},{"title":"生产端.jpg <span style='color:#111;'> 18.28KB </span>","children":null,"spread":false},{"title":"src","children":[{"title":"main","children":[{"title":"resources","children":[{"title":"bin","children":[{"title":"README.txt <span style='color:#111;'> 488B </span>","children":null,"spread":false},{"title":"stopServer.sh <span style='color:#111;'> 248B </span>","children":null,"spread":false},{"title":"iov-websocket <span style='color:#111;'> 1.91KB </span>","children":null,"spread":false},{"title":"startServer.bat <span style='color:#111;'> 779B </span>","children":null,"spread":false},{"title":"setEnv.cmd <span style='color:#111;'> 1.43KB </span>","children":null,"spread":false},{"title":"startServer.sh <span style='color:#111;'> 1.26KB </span>","children":null,"spread":false}],"spread":true},{"title":"default-zookeeper.json <span style='color:#111;'> 129B </span>","children":null,"spread":false},{"title":"log4j.properties <span style='color:#111;'> 2.24KB </span>","children":null,"spread":false},{"title":"vertx-default-jul-logging.properties <span style='color:#111;'> 31B </span>","children":null,"spread":false},{"title":"configs","children":[{"title":"default-websocket.json <span style='color:#111;'> 132B </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"java","children":[{"title":"com","children":[{"title":"vertx","children":[{"title":"websocket","children":[{"title":"server","children":[{"title":"handler","children":[{"title":"MonitorHandler.java <span style='color:#111;'> 1.05KB </span>","children":null,"spread":false},{"title":"AccessHandler.java <span style='color:#111;'> 1010B </span>","children":null,"spread":false},{"title":"MaintainHandler.java <span style='color:#111;'> 1.45KB </span>","children":null,"spread":false}],"spread":true},{"title":"verticles","children":[{"title":"AcceptorVerticle.java <span style='color:#111;'> 2.47KB </span>","children":null,"spread":false},{"title":"HeartbeatVerticle.java <span style='color:#111;'> 1.79KB </span>","children":null,"spread":false},{"title":"StartWebSocketVerticle.java <span style='color:#111;'> 1.43KB </span>","children":null,"spread":false}],"spread":true},{"title":"common","children":[{"title":"Constants.java <span style='color:#111;'> 549B </span>","children":null,"spread":false},{"title":"Producer.java <span style='color:#111;'> 2.03KB </span>","children":null,"spread":false},{"title":"Consumer.java <span style='color:#111;'> 3.78KB </span>","children":null,"spread":false}],"spread":true},{"title":"util","children":[{"title":"PropertiesUtil.java <span style='color:#111;'> 1.11KB </span>","children":null,"spread":false},{"title":"UrlPathUtil.java <span style='color:#111;'> 517B </span>","children":null,"spread":false}],"spread":false}],"spread":true},{"title":"main","children":[{"title":"StartWebSocket.java <span style='color:#111;'> 2.06KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":"消费端.jpg <span style='color:#111;'> 20.13KB </span>","children":null,"spread":false},{"title":"README.md <span style='color:#111;'> 1.24KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}]

评论信息

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明