Interface IMorpheoClient
Definition of a client capable of communicating with other Morpheo nodes.
Namespace: Morpheo.Sdk
Assembly: Morpheo.Sdk.dll
Syntax
public interface IMorpheoClient
Methods
| Edit this page View SourceGetHistoryAsync(PeerInfo, long)
Requests missing history (Pull) from a target node.
Declaration
Task<List<SyncLogDto>> GetHistoryAsync(PeerInfo target, long sinceTick)
Parameters
| Type | Name | Description |
|---|---|---|
| PeerInfo | target | The target peer information. |
| long | sinceTick | The tick since when history is requested. |
Returns
| Type | Description |
|---|---|
| Task<List<SyncLogDto>> | A list of synchronization logs. |
SendPrintJobAsync(PeerInfo, string)
Declaration
Task SendPrintJobAsync(PeerInfo target, string content)
Parameters
| Type | Name | Description |
|---|---|---|
| PeerInfo | target | |
| string | content |
Returns
| Type | Description |
|---|---|
| Task |
SendSyncUpdateAsync(PeerInfo, SyncLogDto)
Sends a data synchronization update (Push) to a target node.
Declaration
Task SendSyncUpdateAsync(PeerInfo target, SyncLogDto log)
Parameters
| Type | Name | Description |
|---|---|---|
| PeerInfo | target | The target peer information. |
| SyncLogDto | log | The synchronization log entry. |
Returns
| Type | Description |
|---|---|
| Task |