C
- context object typepublic static interface Topics.TopicDetailsContextCallback<C> extends ContextCallback<C>
Use this alternative to Topics.TopicDetailsCallback
to associate some
arbitrary context object with each call.
Modifier and Type | Interface and Description |
---|---|
static class |
Topics.TopicDetailsContextCallback.Default<C>
Default implementation of
Topics.TopicDetailsContextCallback . |
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
void onTopicDetails(C context, String topicPath, TopicDetails details)
context
- the context object supplied when making the call. Can
be null
.topicPath
- the full path of the topicdetails
- the topic detailsCopyright © 2016 Push Technology Ltd. All Rights Reserved.