C# Class PushTechnology.ClientInterface.Examples.Control.RemoveCallback

Basic implementation of the ITopicRemovalCallback.
Inheritance: ITopicControlRemovalCallback
Afficher le fichier Open project: pushtechnology/diffusion-examples Class Usage Examples

Méthodes publiques

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

Method Details

OnError() public méthode

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

OnTopicsRemoved() public méthode

Topic(s) have been removed.
public OnTopicsRemoved ( ) : void
Résultat void

RemoveCallback() public méthode

Constructor.
public RemoveCallback ( string topicPath ) : System
topicPath string The topic path.
Résultat System

Wait() public méthode

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