Class SubscriberBuilder<T,R>
java.lang.Object
com.cumulocity.sdk.client.notification.SubscriberBuilder<T,R>
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic <T,
R> SubscriberBuilder<T, R> Subscriber<T,
R> build()
static final <T> SubscriptionNameResolver<T>
withDataType
(Class<R> dataType) withEndpoint
(String endpoint) withMessageDeliveryAcknowlage
(boolean enabled) withParameters
(PlatformParameters parameters) withSubscriptionNameResolver
(SubscriptionNameResolver<T> subscriptionNameResolver) withUnauthorizedConnectionRetries
(int retries)
-
Field Details
-
NOTIFICATIONS
- See Also:
-
REALTIME
- See Also:
-
-
Constructor Details
-
SubscriberBuilder
public SubscriberBuilder()
-
-
Method Details
-
identityNameResolve
-
anSubscriber
-
withRealtimeEndpoint
-
withNotificationEndpoint
-
withEndpoint
-
withDataType
-
withParameters
-
withIdentityNameResolver
-
withSubscriptionNameResolver
public SubscriberBuilder<T,R> withSubscriptionNameResolver(SubscriptionNameResolver<T> subscriptionNameResolver) -
withMessageDeliveryAcknowlage
-
withUnauthorizedConnectionRetries
-
build
-