C# 클래스 PushTechnology.ClientInterface.Examples.Control.AddCallback

Basic implementation of the ITopicControlAddCallback.
상속: ITopicControlAddCallback
파일 보기 프로젝트 열기: pushtechnology/diffusion-examples 1 사용 예제들

공개 메소드들

메소드 설명
AddCallback ( ) : System

Constructor.

OnDiscard ( ) : void

This is called to notify that a call context was closed prematurely, typically due to a timeout or the session being closed.

No further calls will be made for the context.

OnTopicAddFailed ( string topicPath, TopicAddFailReason reason ) : void

This is called to notify that an attempt to add a topic has failed.

OnTopicAdded ( string topicPath ) : void

This is called to notify that the topic has been added.

Wait ( System.TimeSpan timeout ) : bool

Wait for one of the callbacks for a given time.

메소드 상세

AddCallback() 공개 메소드

Constructor.
public AddCallback ( ) : System
리턴 System

OnDiscard() 공개 메소드

This is called to notify that a call context was closed prematurely, typically due to a timeout or the session being closed.
No further calls will be made for the context.
public OnDiscard ( ) : void
리턴 void

OnTopicAddFailed() 공개 메소드

This is called to notify that an attempt to add a topic has failed.
public OnTopicAddFailed ( string topicPath, TopicAddFailReason reason ) : void
topicPath string The topic path as supplied to the add request.
reason TopicAddFailReason The reason for failure.
리턴 void

OnTopicAdded() 공개 메소드

This is called to notify that the topic has been added.
public OnTopicAdded ( string topicPath ) : void
topicPath string The full path of the topic that was added.
리턴 void

Wait() 공개 메소드

Wait for one of the callbacks for a given time.
public Wait ( System.TimeSpan timeout ) : bool
timeout System.TimeSpan Time to wait for the callback.
리턴 bool