Package io.joynr.pubsub.subscription
Interface SubscriptionListener
-
- All Known Subinterfaces:
AttributeSubscriptionListener<T>,BroadcastSubscriptionListener,GlobalCapabilitiesDirectoryBroadcastInterface.GlobalDiscoveryEntryChangedBroadcastListener,MessageNotificationBroadcastInterface.MessageQueuedForDeliveryBroadcastListener
- All Known Implementing Classes:
AttributeSubscriptionAdapter,GlobalCapabilitiesDirectoryBroadcastInterface.GlobalDiscoveryEntryChangedBroadcastAdapter,MessageNotificationBroadcastInterface.MessageQueuedForDeliveryBroadcastAdapter
public interface SubscriptionListener
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidonSubscribed(String subscriptionId)Gets called when the subscription is successfully registered at the provider.
-
-
-
Method Detail
-
onSubscribed
void onSubscribed(String subscriptionId)
Gets called when the subscription is successfully registered at the provider. Since the onSubscribed callback is called by a communication middleware thread, it should not be blocked, wait for user interaction, or do larger computation.- Parameters:
subscriptionId- the subscription id of the subscription as string
-
-