C# Класс Examples.ControlClientAsUpdateSource.UpdateSource

Наследование: TopicUpdateSourceDefault
Показать файл Открыть проект

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

Метод Описание
OnActive ( string topicPath, ITopicUpdater updater ) : void

State notification that this source is now active for the specified topic path, and is therefore in a valid state to send updates on topics at or below the registered topic path.

OnClose ( string topicPath ) : void

Called if the handler is closed. The handler will be closed if the session is closed after the handler has been registered, or if the handler is unregistered using close. No further calls will be made for the handler.

UpdateSource ( IPriceProvider provider, ITopicUpdaterUpdateCallback callback ) : System.Threading

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

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

State notification that this source is now active for the specified topic path, and is therefore in a valid state to send updates on topics at or below the registered topic path.
public OnActive ( string topicPath, ITopicUpdater updater ) : void
topicPath string The registration path.
updater ITopicUpdater An updater that may be used to update topics at or below the registered path.
Результат void

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

Called if the handler is closed. The handler will be closed if the session is closed after the handler has been registered, or if the handler is unregistered using close. No further calls will be made for the handler.
public OnClose ( string topicPath ) : void
topicPath string the branch of the topic tree for which the handler was registered
Результат void

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

public UpdateSource ( IPriceProvider provider, ITopicUpdaterUpdateCallback callback ) : System.Threading
provider IPriceProvider
callback ITopicUpdaterUpdateCallback
Результат System.Threading