public class AsyncSubscribe
extends java.lang.Object
implements org.apache.eventmesh.client.tcp.common.ReceiveMsgHook<org.apache.eventmesh.common.protocol.tcp.EventMeshMessage>
| 限定符和类型 | 字段和说明 |
|---|---|
static AsyncSubscribe |
handler |
| 构造器和说明 |
|---|
AsyncSubscribe() |
public static AsyncSubscribe handler
public static void main(java.lang.String[] args)
throws java.lang.Exception
java.lang.Exceptionpublic java.util.Optional<org.apache.eventmesh.common.protocol.tcp.EventMeshMessage> handle(org.apache.eventmesh.common.protocol.tcp.EventMeshMessage msg)
handle 在接口中 org.apache.eventmesh.client.tcp.common.ReceiveMsgHook<org.apache.eventmesh.common.protocol.tcp.EventMeshMessage>