C# Class PushTechnology.ClientInterface.GettingStarted.UpdateCallback

A simple ITopicUpdaterUpdateCallback implementation that prints confimation of the actions completed.
Inheritance: ITopicUpdaterUpdateCallback
显示文件 Open project: pushtechnology/diffusion-examples Class Usage Examples

Public Methods

Method 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 method

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
return void

OnSuccess() public method

Indicates a successful update.
public OnSuccess ( ) : void
return void

UpdateCallback() public method

Constructor.
public UpdateCallback ( string topic ) : System
topic string The topic path
return System