VirtualBox

Changeset 86912 in vbox


Ignore:
Timestamp:
Nov 19, 2020 7:54:03 AM (4 years ago)
Author:
vboxsync
Message:

Shared Clipboard/Transfers: Docs (clipboard areas are no more). bugref:9437

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/HostServices/SharedClipboard/VBoxSharedClipboardSvc.cpp

    r86911 r86912  
    116116 * - No support for ACLs yet.
    117117 * - No (maybe never) support for NT4.
    118  *
    119  * @section sec_transfers_areas         Clipboard areas.
    120  *
    121  * For larger / longer transfers there might be file data
    122  * temporarily cached on the host, which has not been transferred to the
    123  * destination yet. Such a cache is called a "Shared Clipboard Area", which
    124  * in turn is identified by a unique ID across all VMs running on the same
    125  * host. To control the access (and needed cleanup) of such clipboard areas,
    126  * VBoxSVC (Main) is used for this task. A Shared Clipboard client can register,
    127  * unregister, attach to and detach from a clipboard area. If all references
    128  * to a clipboard area are released, a clipboard area gets detroyed automatically
    129  * by VBoxSVC.
    130  *
    131  * By default a clipboard area lives in the user's temporary directory in the
    132  * sub folder "VirtualBox Shared Clipboards/clipboard-<ID>". VBoxSVC does not
    133  * do any file locking in a clipboard area, but keeps the clipboard areas's
    134  * directory open to prevent deletion by third party processes.
    135  *
    136  * @todo We might use some VFS / container (IPRT?) for this instead of the
    137  *       host's file system directly?
    138  *       bird> Yes, but may take some work as we don't have the pick and choose
    139  *             kind of VFS containers implemented yet.
    140  *
     118
    141119 * @section sec_transfer_structure        Transfer handling structure
    142120 *
     
    153131 * optionally can run in an asynchronous thread to prevent blocking the UI while
    154132 * running.
    155  *
    156  * A Shared Clipboard transfer can maintain its own clipboard area; for the host
    157  * service such a clipboard area is coupled to a clipboard area registered or
    158  * attached with VBoxSVC. This is needed because multiple transfers from
    159  * multiple VMs (n:n) can rely on the same clipboard area, so there needs a
    160  * master keeping tracking of a clipboard area. To minimize IPC traffic only the
    161  * minimum de/attaching is done at the moment. A clipboard area gets cleaned up
    162  * (i.e. physically deleted) if no references are held to it  anymore, or if
    163  * VBoxSVC goes down.
    164133 *
    165134 * @section sec_transfer_providers        Transfer providers
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette