C# Class Examples.ControlClientConnectingAsynchronously.TopicAddCallback

Inheritance: ITopicControlAddCallback
Afficher le fichier Open project: pushtechnology/diffusion-examples

Méthodes publiques

Méthode Description
OnDiscard ( ) : void

This is called to notify 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.

OnTopicAddFailed ( string topicPath, TopicAddFailReason reason ) : void

An attempt to add a topic has failed.

OnTopicAdded ( string topicPath ) : void

Topic has been added.

TopicAddCallback ( ISession session ) : PushTechnology.ClientInterface.Client.Callbacks

Constructor.

Method Details

OnDiscard() public méthode

This is called to notify 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 OnDiscard ( ) : void
Résultat void

OnTopicAddFailed() public méthode

An attempt to add a topic has failed.
public OnTopicAddFailed ( string topicPath, TopicAddFailReason reason ) : void
topicPath string The topic path as supplied to the add request.
reason TopicAddFailReason The reason for failure.
Résultat void

OnTopicAdded() public méthode

Topic has been added.
public OnTopicAdded ( string topicPath ) : void
topicPath string The full path of the topic that was added.
Résultat void

TopicAddCallback() public méthode

Constructor.
public TopicAddCallback ( ISession session ) : PushTechnology.ClientInterface.Client.Callbacks
session ISession The client session.
Résultat PushTechnology.ClientInterface.Client.Callbacks