Diffusion .NET API  5.9.4
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Properties Events Pages
PushTechnology.ClientInterface.Client.Features.Control.Topics.UpdateSourceDispatchers.UpdateSourceDispatcher Class Reference

Represents a IUpdateSourceDispatcher implementation. More...

Inheritance diagram for PushTechnology.ClientInterface.Client.Features.Control.Topics.UpdateSourceDispatchers.UpdateSourceDispatcher:
PushTechnology.ClientInterface.Client.Features.Control.Topics.UpdateSourceDispatchers.IUpdateSourceDispatcher

Public Member Functions

 UpdateSourceDispatcher (IInternalSession session, IServiceReference< UpdateSourceUpdateRequest, UpdateSourceUpdateResponse > updateService, IServiceReference< UpdateSourceSetRequest, UpdateSourceUpdateResponse > setService, IServiceReference< UpdateSourceDeltaRequest, UpdateSourceUpdateResponse > deltaService)
 Creates a new UpdateSourceDispatcher. More...
 
void Update< TContext > (ConversationId cid, string topic, IUpdate update, TContext context, ITopicUpdaterUpdateContextCallback< TContext > callback)
 Send an update for this updater/topic source. More...
 
void Set< TContext > (ConversationId cid, string topic, byte[] value, TContext context, ITopicUpdaterUpdateContextCallback< TContext > callback)
 Send a value for this updater/topic source. More...
 
void DeltaUpdate< TContext > (ConversationId cid, string topic, int deltaId, byte[] delta, TContext context, ITopicUpdaterUpdateContextCallback< TContext > callback)
 Send a delta update for this updater/topic source. More...
 

Detailed Description

Represents a IUpdateSourceDispatcher implementation.

Constructor & Destructor Documentation

PushTechnology.ClientInterface.Client.Features.Control.Topics.UpdateSourceDispatchers.UpdateSourceDispatcher.UpdateSourceDispatcher ( IInternalSession  session,
IServiceReference< UpdateSourceUpdateRequest, UpdateSourceUpdateResponse >  updateService,
IServiceReference< UpdateSourceSetRequest, UpdateSourceUpdateResponse >  setService,
IServiceReference< UpdateSourceDeltaRequest, UpdateSourceUpdateResponse >  deltaService 
)

Creates a new UpdateSourceDispatcher.

Parameters
sessionThe internal session.
updateServiceThe update service.
setServiceThe set service.
deltaServiceThe delta service.

Member Function Documentation

void PushTechnology.ClientInterface.Client.Features.Control.Topics.UpdateSourceDispatchers.UpdateSourceDispatcher.DeltaUpdate< TContext > ( ConversationId  cid,
string  topic,
int  deltaId,
byte[]  delta,
TContext  context,
ITopicUpdaterUpdateContextCallback< TContext >  callback 
)

Send a delta update for this updater/topic source.



Since 5.8

Template Parameters
TContextThe context type.
Parameters
cidThe conversation id.
topicThe topic path.
deltaIdThe delta id.
deltaThe delta.
contextThe context to supply to callback notifications. May be null.
callbackThe callback for notifications on the update request.

Implements PushTechnology.ClientInterface.Client.Features.Control.Topics.UpdateSourceDispatchers.IUpdateSourceDispatcher.

void PushTechnology.ClientInterface.Client.Features.Control.Topics.UpdateSourceDispatchers.UpdateSourceDispatcher.Set< TContext > ( ConversationId  cid,
string  topic,
byte[]  value,
TContext  context,
ITopicUpdaterUpdateContextCallback< TContext >  callback 
)

Send a value for this updater/topic source.



Since 5.8

Template Parameters
TContextThe context type.
Parameters
cidThe conversation id.
topicThe topic path.
valueThe value.
contextThe context to supply to callback notifications. May be null.
callbackThe callback for notifications on the update request.

Implements PushTechnology.ClientInterface.Client.Features.Control.Topics.UpdateSourceDispatchers.IUpdateSourceDispatcher.

void PushTechnology.ClientInterface.Client.Features.Control.Topics.UpdateSourceDispatchers.UpdateSourceDispatcher.Update< TContext > ( ConversationId  cid,
string  topic,
IUpdate  update,
TContext  context,
ITopicUpdaterUpdateContextCallback< TContext >  callback 
)

Send an update for this updater/topic source.

Template Parameters
TContextThe context type.
Parameters
cidThe conversation id.
topicThe topic path.
updateThe update.
contextThe context to supply to callback notifications. May be null.
callbackThe callback for notifications on the update request.

Implements PushTechnology.ClientInterface.Client.Features.Control.Topics.UpdateSourceDispatchers.IUpdateSourceDispatcher.


The documentation for this class was generated from the following file: