Class SubscriptionResultPayload
java.lang.Object
live.crowdcontrol.cc4j.websocket.payload.SubscriptionResultPayload
Denotes information about subscribed topics, namely which requested topics were successfully subscribed to.
Topics may be rejected if you lack authentication.
-
Constructor Summary
ConstructorsConstructorDescriptionSubscriptionResultPayload(@NotNull Set<@NotNull String> success, @NotNull Set<@NotNull String> failure) -
Method Summary
Modifier and TypeMethodDescriptionGets the set of topics that could not be subscribed to.Gets the set of successfully subscribed topics.
-
Constructor Details
-
SubscriptionResultPayload
-
-
Method Details
-
getSuccess
Gets the set of successfully subscribed topics. It is immutable.- Returns:
- subscribed topics
-
getFailure
Gets the set of topics that could not be subscribed to. This usually indicates a permission failure. It is immutable.- Returns:
- not subscribed topics
-