public class CloudEventsSubscribeReply
extends java.lang.Object
implements org.apache.eventmesh.client.grpc.consumer.ReceiveMsgHook<io.cloudevents.CloudEvent>
| Modifier and Type | Field and Description |
|---|---|
static CloudEventsSubscribeReply |
handler |
| Constructor and Description |
|---|
CloudEventsSubscribeReply() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getProtocolType() |
java.util.Optional<io.cloudevents.CloudEvent> |
handle(io.cloudevents.CloudEvent msg) |
static void |
main(java.lang.String[] args) |
public static final CloudEventsSubscribeReply handler
public static void main(java.lang.String[] args)
throws java.lang.InterruptedException
java.lang.InterruptedExceptionpublic java.util.Optional<io.cloudevents.CloudEvent> handle(io.cloudevents.CloudEvent msg)
handle in interface org.apache.eventmesh.client.grpc.consumer.ReceiveMsgHook<io.cloudevents.CloudEvent>public java.lang.String getProtocolType()
getProtocolType in interface org.apache.eventmesh.client.grpc.consumer.ReceiveMsgHook<io.cloudevents.CloudEvent>