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

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

공개 메소드들

메소드 설명
OnError ( ErrorReason errorReason ) : void

Notification 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.

OnTopicsRemoved ( ) : void

Topic(s) have been removed.

RemoveCallback ( string topicPath ) : System

Constructor.

Wait ( System.TimeSpan timeout ) : bool

Wait for one of the callbacks for a given time.

메소드 상세

OnError() 공개 메소드

Notification 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 OnError ( ErrorReason errorReason ) : void
errorReason ErrorReason The error reason.
리턴 void

OnTopicsRemoved() 공개 메소드

Topic(s) have been removed.
public OnTopicsRemoved ( ) : void
리턴 void

RemoveCallback() 공개 메소드

Constructor.
public RemoveCallback ( string topicPath ) : System
topicPath string The topic path.
리턴 System

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