C# Класс Examples.ControlClientUpdatingTopic

An example of using a control client to create and update a topic in non-exclusive mode (as opposed to acting as an exclusive update source). In this mode other clients could update the same topic (on a 'last update wins' basis). 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 'update_topic' permission for that branch of the topic tree.
Показать файл Открыть проект

Открытые методы

Метод Описание
Close ( ) : void

Close the session.

ControlClientUpdatingTopic ( ) : PushTechnology.ClientInterface.Client.Factories

Constructor.

Update ( string value, ITopicUpdaterUpdateCallback callback ) : void

Update the topic with a string value.

Описание методов

Close() публичный Метод

Close the session.
public Close ( ) : void
Результат void

ControlClientUpdatingTopic() публичный Метод

Constructor.
public ControlClientUpdatingTopic ( ) : PushTechnology.ClientInterface.Client.Factories
Результат PushTechnology.ClientInterface.Client.Factories

Update() публичный Метод

Update the topic with a string value.
public Update ( string value, ITopicUpdaterUpdateCallback callback ) : void
value string The update value.
callback ITopicUpdaterUpdateCallback The update callback.
Результат void