C# Class 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.
Datei anzeigen Open project: Syncano/syncano-dotnet Class Usage Examples

Public Methods

Method Description
Start ( ) : Task

Starts SyncServer and connects it to Syncano Sync Server.

Stop ( ) : void

Disconnects SyncServer.

SyncServer ( string instanceName, string api ) : System

Creates SyncServer object.

Method Details

Start() public method

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

Stop() public method

Disconnects SyncServer.
public Stop ( ) : void
return void

SyncServer() public method

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