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.
파일 보기 프로젝트 열기: pushtechnology/diffusion-examples

공개 메소드들

메소드 설명
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