public class AsyncSubscribe
extends java.lang.Object
implements org.apache.eventmesh.client.tcp.common.ReceiveMsgHook<io.cloudevents.CloudEvent>
| Modifier and Type | Field and Description |
|---|---|
static AsyncSubscribe |
handler |
| Constructor and Description |
|---|
AsyncSubscribe() |
| Modifier and Type | Method and Description |
|---|---|
java.util.Optional<io.cloudevents.CloudEvent> |
handle(io.cloudevents.CloudEvent 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<io.cloudevents.CloudEvent> handle(io.cloudevents.CloudEvent msg)
handle in interface org.apache.eventmesh.client.tcp.common.ReceiveMsgHook<io.cloudevents.CloudEvent>