VirtualBox

Changeset 24260 in vbox


Ignore:
Timestamp:
Nov 2, 2009 2:47:08 PM (15 years ago)
Author:
vboxsync
Message:

Main: API docs fix

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/idl/VirtualBox.xidl

    r24258 r24260  
    85498549      <h3>Accessibility checks</h3>
    85508550
    8551       The given medium (with the created storage unit) is considered to be
    8552       <i>accessible</i> when its storage unit can be read. In that case, the
    8553       <link to="#state"/> attribute has a value of "Created".
    8554       When the storage unit cannot be read (for example, because it is located on
    8555       a disconnected network resource, or was accidentally deleted outside VirtualBox),
     8551      VirtualBox defers media accessibility checks until the <link to="#refreshState" />
     8552      method is called explicitly on a medium. This is done to make the VirtualBox object
     8553      ready for serving requests as fast as possible and let the end-user
     8554      application decide if it needs to check media accessibility right away or not.
     8555
     8556      As a result, when VirtualBox starts up (e.g. the VirtualBox
     8557      object gets created for the first time), all known media are in the
     8558      "Inaccessible" state, but the value of the <link to="#lastAccessError"/>
     8559      attribute is an empty string because no actual accessibility check has
     8560      been made yet.
     8561
     8562      After calling <link to="#refreshState" />, a medium is considered
     8563      <i>accessible</i> if its storage unit can be read. In that case, the
     8564      <link to="#state"/> attribute has a value of "Created". If the storage
     8565      unit cannot be read (for example, because it is located on a disconnected
     8566      network resource, or was accidentally deleted outside VirtualBox),
    85568567      the medium is considered <i>inaccessible</i>, which is indicated by the
    85578568      "Inaccessible" state. The exact reason why the medium is inaccessible can be
    85588569      obtained by reading the <link to="#lastAccessError"/> attribute.
    8559 
    8560       A new accessibility check is performed when <link to="#refreshState"/>
    8561       is called; otherwise the <link to="#state"/> attribute returns the state
    8562       from the last refresh.
    8563 
    8564       Note that when VirtualBox starts up (e.g. the VirtualBox object gets
    8565       created for the first time), all known media are in the
    8566       <link to="MediumState_Inaccessible"/> state but the value of the <link
    8567       to="#lastAccessError"/> attribute is an empty string because no actual
    8568       accessibility check is made on startup. This is done to make the
    8569       VirtualBox object ready for serving requests as
    8570       fast as possible and let the end-user application decide if it needs to
    8571       check media accessibility right away or not.
    85728570
    85738571      <h3>Medium types</h3>
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