public class AsyncSubscribe
extends java.lang.Object
implements org.apache.eventmesh.client.tcp.common.ReceiveMsgHook<org.apache.eventmesh.common.protocol.tcp.EventMeshMessage>
| Modifier and Type | Field and Description |
|---|---|
static AsyncSubscribe |
handler |
| Constructor and Description |
|---|
AsyncSubscribe() |
| Modifier and Type | Method and Description |
|---|---|
java.util.Optional<org.apache.eventmesh.common.protocol.tcp.EventMeshMessage> |
handle(org.apache.eventmesh.common.protocol.tcp.EventMeshMessage msg) |
static void |
main(java.lang.String[] args) |
public static final 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 in interface org.apache.eventmesh.client.tcp.common.ReceiveMsgHook<org.apache.eventmesh.common.protocol.tcp.EventMeshMessage>