C
- context object typepublic static class Topics.TopicDetailsContextCallback.Default<C> extends ContextCallback.Default<C> implements Topics.TopicDetailsContextCallback<C>
Topics.TopicDetailsContextCallback
.
This logs onTopicDetails calls at info level and onTopicUnknown calls at 'warn' level.
Topics.TopicDetailsContextCallback.Default<C>
Constructor and Description |
---|
Topics.TopicDetailsContextCallback.Default() |
Modifier and Type | Method and Description |
---|---|
void |
onTopicDetails(C context,
String topicPath,
TopicDetails details)
Called to return requested topic details.
|
void |
onTopicUnknown(C context,
String topicPath)
Called if there was a request for topic details but the topic did not
exist at the server.
|
onDiscard
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
onDiscard
public Topics.TopicDetailsContextCallback.Default()
public void onTopicDetails(C context, String topicPath, TopicDetails details)
Topics.TopicDetailsContextCallback
onTopicDetails
in interface Topics.TopicDetailsContextCallback<C>
context
- the context object supplied when making the call. Can
be null
.topicPath
- the full path of the topicdetails
- the topic detailspublic void onTopicUnknown(C context, String topicPath)
Topics.TopicDetailsContextCallback
onTopicUnknown
in interface Topics.TopicDetailsContextCallback<C>
context
- the context object supplied when making the call. Can
be null
.topicPath
- the full path of the topicCopyright © 2016 Push Technology Ltd. All Rights Reserved.