public class MessageUtils
extends java.lang.Object
| 构造器和说明 |
|---|
MessageUtils() |
| 限定符和类型 | 方法和说明 |
|---|---|
static org.apache.eventmesh.common.protocol.tcp.Package |
asyncMessageAck(org.apache.eventmesh.common.protocol.tcp.Package in) |
static org.apache.eventmesh.common.protocol.tcp.Package |
broadcastMessageAck(org.apache.eventmesh.common.protocol.tcp.Package in) |
static org.apache.eventmesh.common.protocol.tcp.Package |
buildPackage(java.lang.Object message,
org.apache.eventmesh.common.protocol.tcp.Command command) |
static org.apache.eventmesh.common.protocol.tcp.UserAgent |
generatePubClient(org.apache.eventmesh.common.protocol.tcp.UserAgent agent) |
static org.apache.eventmesh.common.protocol.tcp.UserAgent |
generateSubClient(org.apache.eventmesh.common.protocol.tcp.UserAgent agent) |
static org.apache.eventmesh.common.protocol.tcp.Package |
goodbye() |
static org.apache.eventmesh.common.protocol.tcp.Package |
heartBeat() |
static org.apache.eventmesh.common.protocol.tcp.Package |
hello(org.apache.eventmesh.common.protocol.tcp.UserAgent user) |
static org.apache.eventmesh.common.protocol.tcp.Package |
listen() |
static org.apache.eventmesh.common.protocol.tcp.Package |
requestToClientAck(org.apache.eventmesh.common.protocol.tcp.Package in) |
static org.apache.eventmesh.common.protocol.tcp.Package |
responseToClientAck(org.apache.eventmesh.common.protocol.tcp.Package in) |
static org.apache.eventmesh.common.protocol.tcp.Package |
subscribe(java.lang.String topic,
org.apache.eventmesh.common.protocol.SubscriptionMode subscriptionMode,
org.apache.eventmesh.common.protocol.SubscriptionType subscriptionType) |
static org.apache.eventmesh.common.protocol.tcp.Package |
unsubscribe() |
public static org.apache.eventmesh.common.protocol.tcp.Package hello(org.apache.eventmesh.common.protocol.tcp.UserAgent user)
public static org.apache.eventmesh.common.protocol.tcp.Package heartBeat()
public static org.apache.eventmesh.common.protocol.tcp.Package goodbye()
public static org.apache.eventmesh.common.protocol.tcp.Package listen()
public static org.apache.eventmesh.common.protocol.tcp.Package subscribe(java.lang.String topic,
org.apache.eventmesh.common.protocol.SubscriptionMode subscriptionMode,
org.apache.eventmesh.common.protocol.SubscriptionType subscriptionType)
public static org.apache.eventmesh.common.protocol.tcp.Package unsubscribe()
public static org.apache.eventmesh.common.protocol.tcp.Package asyncMessageAck(org.apache.eventmesh.common.protocol.tcp.Package in)
public static org.apache.eventmesh.common.protocol.tcp.Package buildPackage(java.lang.Object message,
org.apache.eventmesh.common.protocol.tcp.Command command)
public static org.apache.eventmesh.common.protocol.tcp.Package broadcastMessageAck(org.apache.eventmesh.common.protocol.tcp.Package in)
public static org.apache.eventmesh.common.protocol.tcp.Package requestToClientAck(org.apache.eventmesh.common.protocol.tcp.Package in)
public static org.apache.eventmesh.common.protocol.tcp.Package responseToClientAck(org.apache.eventmesh.common.protocol.tcp.Package in)
public static org.apache.eventmesh.common.protocol.tcp.UserAgent generateSubClient(org.apache.eventmesh.common.protocol.tcp.UserAgent agent)
public static org.apache.eventmesh.common.protocol.tcp.UserAgent generatePubClient(org.apache.eventmesh.common.protocol.tcp.UserAgent agent)