public interface SubscriptionListener
| Modifier and Type | Method and Description |
|---|---|
void |
processEvent(com.google.protobuf.ByteString topic,
com.google.protobuf.ByteString subscriberId,
PubSubProtocol.SubscriptionEvent event)
Process an event from a subscription.
|
void processEvent(com.google.protobuf.ByteString topic,
com.google.protobuf.ByteString subscriberId,
PubSubProtocol.SubscriptionEvent event)
NOTE: It would be better to not run blocking operations in a listener implementation.
topic - Topic NamesubscriberId - Subscriber Idevent - Event tell what happened to the subscription.Copyright © 2014 The Apache Software Foundation. All Rights Reserved.