SpringBoot + WebSocket+STOMP specified push message

Table of Contents 1. Preconditions 1.2 Environmental requirements 1.3 Dependencies 2. Preparation of relevant tools 2.1 Send message carrier 2.2 Receive message carrier 2.3 Message processing interface 2.4 Configuring Spring for STOMP messaging 3. Front-end part 4. Effect 1. Prerequisites This article will briefly describe the SpringBoot + WebSocket + STOMP specified push message scenario, […]

Flutter development practice – long link WebSocket uses stomp protocol stomp_dart_client

Flutter development practice – long link WebSocket uses stomp protocol stomp_dart_client In the app, long connections are often used for message communication. Here is a record of using the stomp protocol based on websocket. 1. stomp: Stream Text Directed Messaging Protocol 1.1 stomp introduction stomp, Streaming Text Oriented Message Protocol, is a streaming text oriented […]

Qt-QCustomplot development history (5)

Exception capture and logging Article directory Exception capture and logging foreword 1. The Qt program crashes and exits abnormally 2. Exception capture in Qt try-catch 3. Logging Summarize Foreword Any software and programs are inseparable from the handling of the exception mechanism. If the program does not handle the exception, it will cause the program […]

STOMP Broker in Spring Boot: Principle and Use

STOMP Broker in Spring Boot: Principle and Use Introduction STOMP (Simple Text Oriented Messaging Protocol) is a text-based protocol for passing messages between web applications. STOMP provides an easy way to implement bidirectional communication over WebSocket. In Spring Boot, we can use STOMP to realize bidirectional communication of WebSocket. STOMP Broker is an implementation of […]

Qt-QCustomplot development history (4)

Article directory 1. Add QCustomPlot curve 1. Curve addition 2. Curve style 3. Data point shape 4. Delete Curve 2. Selection of Curves 1. Method trigger 2. Curve style decorator QCPSelectionDecorator Summarize 1. Add QCustomPlot curve We all know that QCustomPlot is a chart drawing tool, so how does he draw a curve? Before drawing […]

Qt-QCustomplot development history (3)

Series article directory Article directory Series Article Directory foreword 1. What is a cursor? Second, the implementation of the cursor in QCustomPlot. 1. QCPItemStraightLine 3. The mouse event of the cursor. 1. Mouse click event 2. Mouse move event 3. Mouse release event 4. Application Scenarios of Cursors 1. Curve average calculation 2. Calculate the […]

Qt-QCustomplot development history (1)

Xiaobai enters QT QCustomplot project development This year I am developing a small project to image some file data. Because I want to make an .exe program, I decided to use Qt software to complete it with the suggestion of the senior. Because I just graduated and have no development experience, so the development of […]

WebSocket is based on STOMP

The essence of stomp is the broadcast mode, so the secondary socket is more suitable for broadcasting Instructions: rely: <!–websocket–> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-websocket</artifactId> </dependency> Configuration class: package com.matrix.npdm.config; import org.springframework.context.annotation.Configuration; import org.springframework.messaging.converter.MessageConverter; import org.springframework.messaging.handler.invocation.HandlerMethodArgumentResolver; import org.springframework.messaging.handler.invocation.HandlerMethodReturnValueHandler; import org.springframework.messaging.simp.config.ChannelRegistration; import org.springframework.messaging.simp.config.MessageBrokerRegistry; import org.springframework.web.socket.config.annotation.EnableWebSocketMessageBroker; import org.springframework.web.socket.config.annotation.StompEndpointRegistry; import org.springframework.web.socket.config.annotation.WebSocketMessageBrokerConfigurer; import org.springframework.web.socket.config.annotation.WebSocketTransportRegistration; import java.util.List; /** Endpoint configuration * Passive […]

[QCustomPlot] Modify source code for performance improvement (version V2.x.x)

Description QCustomPlot is an open source project, and the source code is very standardized. It is not particularly difficult to understand its visualization ideas. In this essay, I summarize the commonly used source code modification techniques. Each technique below is independent and will not cause any conflicts. The version number of QCustomPlot used in the […]