public class SnapshotSourceClient extends Object
| Constructor and Description |
|---|
SnapshotSourceClient(DesktopConnection desktopConnection,
String uuid)
Constructor of SnapshotSourceClient
|
| Modifier and Type | Method and Description |
|---|---|
CompletableFuture<Ack> |
applySnapshotAsync(org.json.JSONObject snapshot)
Applies specified snapshot object to the snapshot provider.
|
CompletableFuture<org.json.JSONObject> |
getSnapshotAsync()
Gets current snapshot from the snapshot provider.
|
public SnapshotSourceClient(DesktopConnection desktopConnection, String uuid)
desktopConnection - an instance of DesktopConnectionuuid - uuid of snapshot providerpublic CompletableFuture<org.json.JSONObject> getSnapshotAsync()
Ackpublic CompletableFuture<Ack> applySnapshotAsync(org.json.JSONObject snapshot)
snapshot - The snapshot objectCopyright © 2022. All rights reserved.