C
- context object type
See fetch
.
@Deprecated public static interface Topics.FetchContextStream<C> extends ContextStream<C>
Use this alternative to Topics.FetchStream
to associate some arbitrary
context object with each call.
Modifier and Type | Interface and Description |
---|---|
static class |
Topics.FetchContextStream.Default<C>
Deprecated.
Abstract implementation of a
Topics.FetchContextStream . |
Modifier and Type | Method and Description |
---|---|
void |
onFetchReply(C context,
String topicPath,
Content content)
Deprecated.
Called to return a reply to a fetch request.
|
onClose
onDiscard
void onFetchReply(C context, String topicPath, Content content)
This can be called many times for a single request.
context
- the context object supplied when making the call. Can
be null
.topicPath
- the path of the topic fetchedcontent
- the topic contentCopyright © 2020 Push Technology Ltd. All Rights Reserved.