Methods that use callbacks are deprecated and will be removed in a future release. Use CompletableFuture variant instead.
@Deprecated public static interface TopicControl.AddCallback extends Callback
Modifier and Type | Interface and Description |
---|---|
static class |
TopicControl.AddCallback.Default
Deprecated.
A default implementation of
TopicControl.AddCallback . |
Modifier and Type | Method and Description |
---|---|
void |
onTopicAdded(String topicPath)
Deprecated.
This will be called when the topic has been successfully added.
|
void |
onTopicAddFailed(String topicPath,
TopicAddFailReason reason)
Deprecated.
This will be called if an attempt to add a topic has failed.
|
void onTopicAdded(String topicPath)
topicPath
- the topic path of the topic that was addedvoid onTopicAddFailed(String topicPath, TopicAddFailReason reason)
topicPath
- the topic path as supplied to the add requestreason
- the reason for failureCopyright © 2024 DiffusionData Ltd. All Rights Reserved.