C# Класс PushTechnology.ClientInterface.Examples.Control.RemoveCallback

Basic implementation of the ITopicRemovalCallback.
Наследование: ITopicControlRemovalCallback
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
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