public static class GlobalCapabilitiesDirectoryBroadcastInterface.GlobalDiscoveryEntryChangedBroadcastAdapter extends Object implements GlobalCapabilitiesDirectoryBroadcastInterface.GlobalDiscoveryEntryChangedBroadcastListener
| Constructor and Description |
|---|
GlobalDiscoveryEntryChangedBroadcastAdapter() |
| Modifier and Type | Method and Description |
|---|---|
void |
onError(SubscriptionException error)
Gets called if the subscription registration failed at the provider.
|
void |
onReceive(ChangeType typeOfChange,
GlobalDiscoveryEntry globalDiscoveryEntry) |
void |
onSubscribed(String subscriptionId)
Gets called when the subscription is successfully registered at the provider.
|
public GlobalDiscoveryEntryChangedBroadcastAdapter()
public void onReceive(ChangeType typeOfChange, GlobalDiscoveryEntry globalDiscoveryEntry)
onReceive in interface GlobalCapabilitiesDirectoryBroadcastInterface.GlobalDiscoveryEntryChangedBroadcastListenerpublic void onError(SubscriptionException error)
BroadcastSubscriptionListeneronError in interface BroadcastSubscriptionListenererror - JoynrRuntimeException describing the errorpublic void onSubscribed(String subscriptionId)
SubscriptionListeneronSubscribed in interface SubscriptionListenersubscriptionId - the subscription id of the subscription as stringCopyright © 2021. All rights reserved.