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,
Exchange exchange,
QuoteSubject subject) |
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 |
buildSubscribeMessage(Subject subject,
Set<String> focusKeys) |
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 - client能保证发送心跳的最小间隔,0代表client不发送心跳receiveInterval - client希望收到server心跳的间隔,0代表client不希望收到server的心跳public 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, Exchange exchange, 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 buildSubscribeMessage(Subject 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 © 2019. All rights reserved.