C# 클래스 SyncanoSyncServer.Net.SyncServer

Class makes possible to connect to Syncano Sync Server over Tcp. Like in class Syncano, in Rest Api module, you can manage your Syncano Instance using it, but also it provides api for subscribing and listening for real time notifications that inform you, what is happening with your Syncano Instance right now. The Sync Server is meant to facilitate notification/subscription processing. To control what you subscribe to or what you want to send, refer to the notification and subscription API documentation. Once you are subscribed to and connected to the Sync Server, you will start receiving real-time notifications.
파일 보기 프로젝트 열기: Syncano/syncano-dotnet 1 사용 예제들

공개 메소드들

메소드 설명
Start ( ) : Task

Starts SyncServer and connects it to Syncano Sync Server.

Stop ( ) : void

Disconnects SyncServer.

SyncServer ( string instanceName, string api ) : System

Creates SyncServer object.

메소드 상세

Start() 공개 메소드

Starts SyncServer and connects it to Syncano Sync Server.
public Start ( ) : Task
리턴 Task

Stop() 공개 메소드

Disconnects SyncServer.
public Stop ( ) : void
리턴 void

SyncServer() 공개 메소드

Creates SyncServer object.
public SyncServer ( string instanceName, string api ) : System
instanceName string Name of Syncano Instance.
api string Api Key of Syncano Instance.
리턴 System