public class CloudEventsAsyncSubscribe
extends java.lang.Object
implements org.apache.eventmesh.client.grpc.consumer.ReceiveMsgHook<io.cloudevents.CloudEvent>
| 限定符和类型 | 字段和说明 |
|---|---|
static CloudEventsAsyncSubscribe |
handler |
| 构造器和说明 |
|---|
CloudEventsAsyncSubscribe() |
public static CloudEventsAsyncSubscribe 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 在接口中 org.apache.eventmesh.client.grpc.consumer.ReceiveMsgHook<io.cloudevents.CloudEvent>public java.lang.String getProtocolType()
getProtocolType 在接口中 org.apache.eventmesh.client.grpc.consumer.ReceiveMsgHook<io.cloudevents.CloudEvent>