public class SnapshotSource extends Object
| Constructor and Description |
|---|
SnapshotSource(DesktopConnection desktopConnection)
Constructor of SnapshotSource
|
| Modifier and Type | Method and Description |
|---|---|
CompletionStage<SnapshotSourceClient> |
createSnapshotSourceClientAsync(String uuid)
Asynchronously returns a SnapshotSourceClient object that connects to the specified snapshot source provider.
|
CompletionStage<SnapshotSourceProvider> |
initSnapshotSourceProviderAsync(String uuid,
SnapshotSourceProvider provider)
Initializes the SnapshotSourceProvider with the getSnapshot and applySnapshot methods defined.
|
public SnapshotSource(DesktopConnection desktopConnection)
desktopConnection - an instance of DesktopConnectionpublic CompletionStage<SnapshotSourceProvider> initSnapshotSourceProviderAsync(String uuid, SnapshotSourceProvider provider)
uuid - The identifier of the snapshot source.provider - The snapshot source providerpublic CompletionStage<SnapshotSourceClient> createSnapshotSourceClientAsync(String uuid)
uuid - The identifier of the snapshot source.Copyright © 2022. All rights reserved.