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