C# Class Examples.ControlClientAsUpdateSource

An example of using a control client as an event feed to a topic. This uses the ITopicControl feature to create a topic and the ITopicUpdateControl feature to send updates to it. To send updates to a topic, the client session requires the TopicPermission.UPDATE_TOPIC permission for that branch of the topic tree.
显示文件 Open project: pushtechnology/diffusion-examples

Public Methods

Method Description
Close ( ) : void
ControlClientAsUpdateSource ( ITopicUpdaterUpdateCallback callback ) : System.Threading

Constructor.

Start ( IPriceProvider provider ) : void

Method Details

Close() public method

public Close ( ) : void
return void

ControlClientAsUpdateSource() public method

Constructor.
public ControlClientAsUpdateSource ( ITopicUpdaterUpdateCallback callback ) : System.Threading
callback ITopicUpdaterUpdateCallback The callback for updates.
return System.Threading

Start() public method

public Start ( IPriceProvider provider ) : void
provider IPriceProvider
return void