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