public static class Topics.TopicDetailsCallback.Default extends Callback.Default implements Topics.TopicDetailsCallback
Topics.TopicDetailsCallback
.
This logs onTopicDetails calls at 'info' level and onTopicUnknown calls at 'warn' level.
Topics.TopicDetailsCallback.Default
Constructor and Description |
---|
Topics.TopicDetailsCallback.Default() |
Modifier and Type | Method and Description |
---|---|
void |
onTopicDetails(String topicPath,
TopicDetails details)
Called to return requested topic details.
|
void |
onTopicUnknown(String topicPath)
Called if there was a request for topic details but the topic did not
exist at the server.
|
onDiscard
public void onTopicDetails(String topicPath, TopicDetails details)
Topics.TopicDetailsCallback
onTopicDetails
in interface Topics.TopicDetailsCallback
topicPath
- the full path of the topicdetails
- the topic detailspublic void onTopicUnknown(String topicPath)
Topics.TopicDetailsCallback
onTopicUnknown
in interface Topics.TopicDetailsCallback
topicPath
- the full path of the topicCopyright © 2016 Push Technology Ltd. All Rights Reserved.