C# Class Examples.ClientUsingFetch

This is a simple example of a client that fetches the state of topics but does not subscribe to them. This makes use of the ITopics feature only.
Afficher le fichier Open project: pushtechnology/diffusion-examples

Méthodes publiques

Méthode Description
ClientUsingFetch ( ) : PushTechnology.ClientInterface.Client.Factories
Close ( ) : void

Close the session.

Fetch ( string topicSelector, string fetchContext, IFetchContextStream stream ) : void

Issues a fetch request for a topic or selection of topics.

Method Details

ClientUsingFetch() public méthode

public ClientUsingFetch ( ) : PushTechnology.ClientInterface.Client.Factories
Résultat PushTechnology.ClientInterface.Client.Factories

Close() public méthode

Close the session.
public Close ( ) : void
Résultat void

Fetch() public méthode

Issues a fetch request for a topic or selection of topics.
public Fetch ( string topicSelector, string fetchContext, IFetchContextStream stream ) : void
topicSelector string A expression.
fetchContext string The context string to be returned with the fetch response(s).
stream IFetchContextStream The callback for fetch responses.
Résultat void