public class StompMessageUtil extends Object
| 构造器和说明 |
|---|
StompMessageUtil() |
| 限定符和类型 | 方法和说明 |
|---|---|
static io.netty.handler.codec.stomp.StompFrame |
buildCommonSendMessage(String message) |
static io.netty.handler.codec.stomp.StompFrame |
buildConnectMessage(String login,
String passcode,
String version) |
static io.netty.handler.codec.stomp.StompFrame |
buildConnectMessage(String login,
String passcode,
String version,
int sendInterval,
int receiveInterval) |
static io.netty.handler.codec.stomp.StompFrame |
buildDisconnectMessage(String login) |
static io.netty.handler.codec.stomp.StompFrame |
buildSendMessage(int reqType,
String message) |
static io.netty.handler.codec.stomp.StompFrame |
buildSubscribeMessage(Set<String> symbols,
QuoteSubject subject) |
static io.netty.handler.codec.stomp.StompFrame |
buildSubscribeMessage(Set<String> symbols,
QuoteSubject subject,
Set<String> focusKeys) |
static io.netty.handler.codec.stomp.StompFrame |
buildSubscribeMessage(String account,
Subject subject,
Set<String> focusKeys) |
static io.netty.handler.codec.stomp.StompFrame |
buildSubscribeMessage(Subject subject) |
static io.netty.handler.codec.stomp.StompFrame |
buildUnSubscribeMessage(Set<String> symbols,
QuoteSubject subject) |
static io.netty.handler.codec.stomp.StompFrame |
buildUnSubscribeMessage(Subject subject) |
public static io.netty.handler.codec.stomp.StompFrame buildConnectMessage(String login, String passcode, String version)
public static io.netty.handler.codec.stomp.StompFrame buildConnectMessage(String login, String passcode, String version, int sendInterval, int receiveInterval)
login - loginpasscode - passcodeversion - versionsendInterval - The client can guarantee the minimum interval for sending heartbeats, 0 means the client does not send heartbeatsreceiveInterval - The client wants to receive the heartbeat interval of the server, 0 means the client does not want to receive the server's heartbeatpublic static io.netty.handler.codec.stomp.StompFrame buildSendMessage(int reqType,
String message)
public static io.netty.handler.codec.stomp.StompFrame buildCommonSendMessage(String message)
public static io.netty.handler.codec.stomp.StompFrame buildSubscribeMessage(Subject subject)
public static io.netty.handler.codec.stomp.StompFrame buildSubscribeMessage(String account, Subject subject, Set<String> focusKeys)
public static io.netty.handler.codec.stomp.StompFrame buildSubscribeMessage(Set<String> symbols, QuoteSubject subject)
public static io.netty.handler.codec.stomp.StompFrame buildSubscribeMessage(Set<String> symbols, QuoteSubject subject, Set<String> focusKeys)
public static io.netty.handler.codec.stomp.StompFrame buildUnSubscribeMessage(Subject subject)
public static io.netty.handler.codec.stomp.StompFrame buildUnSubscribeMessage(Set<String> symbols, QuoteSubject subject)
public static io.netty.handler.codec.stomp.StompFrame buildDisconnectMessage(String login)
Copyright © 2025. All rights reserved.