C# Class Examples.ControlClientAsUpdateSource.UpdateSource

Inheritance: TopicUpdateSourceDefault
Afficher le fichier Open project: pushtechnology/diffusion-examples

Méthodes publiques

Méthode Description
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

Method Details

OnActive() public méthode

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.
Résultat void

OnClose() public méthode

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
Résultat void

UpdateSource() public méthode

public UpdateSource ( IPriceProvider provider, ITopicUpdaterUpdateCallback callback ) : System.Threading
provider IPriceProvider
callback ITopicUpdaterUpdateCallback
Résultat System.Threading