Class SnapshotSource


  • public class SnapshotSource
    extends java.lang.Object
    SnapshotSource provides methods to init and register the SnapshotSourceProvider or to create a SnapshotSourceClient that connects to a snapshot source provider.
    • Constructor Detail

      • SnapshotSource

        public SnapshotSource​(DesktopConnection desktopConnection)
        Constructor of SnapshotSource
        Parameters:
        desktopConnection - an instance of DesktopConnection
    • Method Detail

      • initSnapshotSourceProviderAsync

        public java.util.concurrent.CompletionStage<SnapshotSourceProvider> initSnapshotSourceProviderAsync​(java.lang.String uuid,
                                                                                                            SnapshotSourceProvider provider)
        Initializes the SnapshotSourceProvider with the getSnapshot and applySnapshot methods defined.
        Parameters:
        uuid - The identifier of the snapshot source.
        provider - The snapshot source provider
        Returns:
        CompletionStage with the provider passed as the 2nd parameter
      • createSnapshotSourceClientAsync

        public java.util.concurrent.CompletionStage<SnapshotSourceClient> createSnapshotSourceClientAsync​(java.lang.String uuid)
        Asynchronously returns a SnapshotSourceClient object that connects to the specified snapshot source provider.
        Parameters:
        uuid - The identifier of the snapshot source.
        Returns:
        CompletionStage for an instance of SnapshotSourceClient when complete