public interface AttributeSubscriptionListener<T> extends SubscriptionListener
| Modifier and Type | Method and Description |
|---|---|
void |
onError(JoynrRuntimeException error)
Gets called on every error that is detected on the subscription.
|
void |
onReceive(T value)
Gets called on every received publication
Since the onReceive callback is called by a communication middleware thread, it should not
be blocked, wait for user interaction, or do larger computation.
|
onSubscribedvoid onReceive(T value)
value - associated with the subscription this listener is listening tovoid onError(JoynrRuntimeException error)
error - JoynrRuntimeException describing the errorCopyright © 2021. All rights reserved.