Changeset 86912 in vbox
- Timestamp:
- Nov 19, 2020 7:54:03 AM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/HostServices/SharedClipboard/VBoxSharedClipboardSvc.cpp
r86911 r86912 116 116 * - No support for ACLs yet. 117 117 * - 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 141 119 * @section sec_transfer_structure Transfer handling structure 142 120 * … … 153 131 * optionally can run in an asynchronous thread to prevent blocking the UI while 154 132 * running. 155 *156 * A Shared Clipboard transfer can maintain its own clipboard area; for the host157 * service such a clipboard area is coupled to a clipboard area registered or158 * attached with VBoxSVC. This is needed because multiple transfers from159 * multiple VMs (n:n) can rely on the same clipboard area, so there needs a160 * master keeping tracking of a clipboard area. To minimize IPC traffic only the161 * minimum de/attaching is done at the moment. A clipboard area gets cleaned up162 * (i.e. physically deleted) if no references are held to it anymore, or if163 * VBoxSVC goes down.164 133 * 165 134 * @section sec_transfer_providers Transfer providers
Note:
See TracChangeset
for help on using the changeset viewer.