C# 클래스 Examples.ControlClientAsUpdateSource.UpdateSource

상속: TopicUpdateSourceDefault
파일 보기 프로젝트 열기: pushtechnology/diffusion-examples

공개 메소드들

메소드 설명
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