C# Class PushTechnology.ClientInterface.GettingStarted.UpdateCallback

A simple ITopicUpdaterUpdateCallback implementation that prints confimation of the actions completed.
Inheritance: ITopicUpdaterUpdateCallback
Afficher le fichier Open project: pushtechnology/diffusion-examples Class Usage Examples

Méthodes publiques

Méthode Description
OnError ( ErrorReason errorReason ) : void

Notification of a contextual error related to this callback.

Situations in which OnError is called include the session being closed, a communication timeout, or a problem with the provided parameters. No further calls will be made to this callback.

OnSuccess ( ) : void

Indicates a successful update.

UpdateCallback ( string topic ) : System

Constructor.

Method Details

OnError() public méthode

Notification of a contextual error related to this callback.
Situations in which OnError is called include the session being closed, a communication timeout, or a problem with the provided parameters. No further calls will be made to this callback.
public OnError ( ErrorReason errorReason ) : void
errorReason ErrorReason A value representing the error
Résultat void

OnSuccess() public méthode

Indicates a successful update.
public OnSuccess ( ) : void
Résultat void

UpdateCallback() public méthode

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