C# Класс 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.
Показать файл Открыть проект

Открытые методы

Метод Описание
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.

Описание методов

ClientUsingFetch() публичный Метод

public ClientUsingFetch ( ) : PushTechnology.ClientInterface.Client.Factories
Результат PushTechnology.ClientInterface.Client.Factories

Close() публичный Метод

Close the session.
public Close ( ) : void
Результат void

Fetch() публичный Метод

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.
Результат void