Diffusion .NET API
5.9.24
|
Contextual callback interface for fetch requests. More...
Public Member Functions | |
void | OnFetchReply (TC context, string topicPath, IContent content) |
Returns a reply to a fetch request. More... | |
Public Member Functions inherited from PushTechnology.ClientInterface.Client.Features.IContextStream< in TC > | |
void | OnClose (TC context) |
Notification that a call context was closed normally. No further calls will be made for the call context. More... | |
Public Member Functions inherited from PushTechnology.ClientInterface.Client.Features.IContextCallback< in TC > | |
void | OnDiscard (TC context) |
Notification that a context was closed prematurely, typically due to a timeout or the session being closed. No further calls will be made for a context. More... | |
Contextual callback interface for fetch requests.
Use this alternative to IFetchStream to associate some arbitrary context object with each call.
TC | The context object type. |
void PushTechnology.ClientInterface.Client.Features.IFetchContextStream< in TC >.OnFetchReply | ( | TC | context, |
string | topicPath, | ||
IContent | content | ||
) |
Returns a reply to a fetch request.
context | The context object supplied when making the call. May be null. |
topicPath | The path of the topic fetched. |
content | The topic content. |
Implemented in PushTechnology.ClientInterface.Client.Features.FetchContextStreamDefault< TC >.