Changeset 5784 in vbox for trunk/src/VBox/Main
- Timestamp:
- Nov 16, 2007 9:35:01 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/idl/VirtualBox.xidl
r5771 r5784 512 512 > 513 513 <desc> 514 The IVirtualBoxErrorInfo interface represents extended error information 515 that can be set by components after unsuccessful method invocation and 516 returned to the client in addition to the result code. 514 Extended error information. 515 516 Such extended error information can be set by VirtualBox components 517 after unsuccessful method invocation. This can then be returned to the 518 client in addition to a plain result code. 517 519 518 520 In MS COM, this interface extends the IErrorInfo interface, … … 1159 1161 This method tries to guess the 1160 1162 <link to="HardDiskStorageType">hard disk storage type</link> from the 1161 format of the location string and from the conten s of the resource the1163 format of the location string and from the contents of the resource the 1162 1164 location points to. Currently, a <i>file path</i> is the only 1163 1165 supported format for the location string which must point to either a … … 2176 2178 wsmap="struct" 2177 2179 > 2180 <desc> 2181 BIOS settings in a virtual machine. Used in <link to="IMachine::BIOSSettings" />. 2182 </desc> 2178 2183 <attribute name="logoFadeIn" type="boolean"> 2179 2184 <desc>Fade in flag for BIOS logo animation.</desc> … … 2239 2244 wsmap="managed" 2240 2245 > 2246 <desc> 2247 A virtual machine, or guest, created in VirtualBox. 2248 2249 This is used in two contexts, mainly: A collection of these is in 2250 <link to="IVirtualBox::machines" />, listing all the virtual machines 2251 that are currently registered with this VirtualBox installation. Also, 2252 once a remote session has been opened for this machine (i.e. the 2253 virtual machine is running), a copy of the machine is in the console 2254 object that represents the connection to the remote session; see 2255 <link to="IConsole" /> for details. 2256 2257 All the settings and actions that are visible in VirtualBox's 2258 front-ends are represented by attributes and methods of this interface. 2259 However, in order to start a virtual machine, as indicated above, 2260 call <link to="IVirtualBox::openRemoteSession" />; to change machine 2261 settings, one needs to open a direct session, see 2262 <link to="IVirtualBox::openSession" />. 2263 2264 <see>IConsole, ISession</see> 2265 </desc> 2266 2241 2267 <attribute name="parent" type="IVirtualBox" readonly="yes"> 2242 2268 <desc>Associated parent obect.</desc> … … 3502 3528 wsmap="managed" 3503 3529 > 3530 <desc> 3531 Connection to machine's remote session. 3532 3533 A console conceptually represents a connection to a remote session, 3534 as opened by <link to="IVirtualBox::openRemoteSession" />. An 3535 IConsole object lives in the local address space (and not remotely, 3536 like IVirtualBox and IMachine do) and allows the owner to control 3537 the virtual machine's state. 3538 </desc> 3539 3504 3540 <attribute name="machine" type="IMachine" readonly="yes"> 3505 3541 <desc> … … 3519 3555 This property always returns the same value as the corresponding 3520 3556 property of the IMachine object this console is sessioned with. 3521 For the process ,that owns (executes) the VM, this is the3522 prefer rable way of quierying the VM state, because no IPC3557 For the process that owns (executes) the VM, this is the 3558 preferable way of querying the VM state, because no IPC 3523 3559 calls are made. 3524 3560 </note> … … 4039 4075 wsmap="managed" 4040 4076 > 4077 <desc> 4078 Physical CD/DVD drive hardware on the host. Used indirectly in <link to="IHost::DVDDrives" />. 4079 </desc> 4080 4041 4081 <attribute name="name" type="wstring" readonly="yes"> 4042 4082 <desc> … … 4097 4137 wsmap="managed" 4098 4138 > 4139 <desc> 4140 Physical floppy drive hardware on the host. Used indirectly in <link to="IHost::floppyDrives" />. 4141 </desc> 4099 4142 <attribute name="name" type="wstring" readonly="yes"> 4100 4143 <desc> … … 4213 4256 wsmap="managed" 4214 4257 > 4258 <desc> 4259 The physical machine that this VirtualBox installation runs on. 4260 4261 This is used in <link to="IVirtualBox::host" /> and contains both read-only 4262 information about the host's physical hardware (such as what processors, 4263 and disks are available, what the host operating system is, and so on). 4264 4265 This also allows for manipulating some of the host's hardware, such as 4266 USB and host interface networking. 4267 4268 </desc> 4215 4269 <attribute name="DVDDrives" type="IHostDVDDriveCollection" readonly="yes"> 4216 4270 <desc>List of DVD drives available on the host.</desc> … … 4563 4617 is used if a virtual machine's authentication type is set to "external" 4564 4618 in the VM RemoteDisplay configuration and will be called from 4565 within the <link to="I SessionManager::logon" /> implementation.4619 within the <link to="IWebsessionManager::logon" /> implementation. 4566 4620 4567 4621 As opposed to <link to="ISystemProperties::remoteDisplayAuthLibrary" />, … … 4569 4623 resource (if it is running). Only for this setting (for the webservice), 4570 4624 setting this value to a literal "null" string disables authentication, 4571 meaning that <link to="I SessionManager::logon" /> will always succeed,4625 meaning that <link to="IWebsessionManager::logon" /> will always succeed, 4572 4626 no matter what user name and password are supplied. 4573 4627 … … 4648 4702 > 4649 4703 <desc> 4650 The IGuest interface represents a guest (virtual machine's) operating 4651 system. It provides information about the Guest Additions and other 4652 guest OS properties. 4653 4654 <see>IConsole::guest</see> 4704 Operating system information of a virtual machine. Used in <link to="IConsole::guest" />. 4705 4706 IGuest provides information about the guest's operating system, whether 4707 Guest Additions are installed and other OS-specific virtual machine properties. 4655 4708 </desc> 4656 4709 … … 5786 5839 5787 5840 <desc> 5788 5789 The IVirtualDiskImage interface represents <link to="IHardDisk">virtual 5790 hard disks</link> that use virtual disk image files to store hard disk5791 data.5841 Specific type of <link to="IHardDisk" /> that uses VDI image files. 5842 5843 The Virtual Disk Image (VDI) format is VirtualBox's native format for 5844 hard disk containers. 5792 5845 5793 5846 Hard disks using virtual disk images can be either opened using … … 5936 5989 5937 5990 <desc> 5991 Specific type of <link to="IHardDisk" /> that uses iSCSI. 5938 5992 5939 5993 The IISCSIHardDisk interface represents <link to="IHardDisk">virtual 5940 5994 hard disks</link> that use the Internet SCSI (iSCSI) protocol to store 5941 5995 hard disk data on remote machines. 5996 5997 Objects that support this interface also support the 5998 <link to="IHardDisk"/> interface. In other words, in C++ terms, 5999 one can consider this class to be derived from IHardDisk. 6000 6001 As with other hard disk objects, hard disks using custom hard disk 6002 images can be opened using <link to="IVirtualBox::openHardDisk()"/>. 5942 6003 5943 6004 iSCSI hard disks can be created using … … 5949 6010 machines. 5950 6011 5951 Objects that support this interface also support the5952 <link to="IHardDisk"/> interface.5953 5954 6012 The <link to="IHardDisk::description">description</link> 5955 6013 of the iSCSI hard disk is stored in the VirtualBox … … 6035 6093 > 6036 6094 <desc> 6037 6038 The IVMDKImage interface represents <link to="IHardDisk">virtual hard 6039 disks</link> that use VMware Virtual Machine Disk image files to store 6040 hard disk data. 6095 Specific type of <link to="IHardDisk" /> that uses VMDK image files. 6096 6097 The Virtual Machine Disk (VMDK) format is the industry standard format 6098 for virtual hard disk image files, which VirtualBox supports besides its 6099 own native VDI format. 6041 6100 6042 6101 Hard disks using VMDK images can be either opened using … … 6192 6251 > 6193 6252 <desc> 6194 6195 The ICustomHardDisk interface represents <link to="IHardDisk">virtual hard 6196 disks</link> that are supported through third-party plugins. 6197 6198 Hard disks using custom hard disk images can be opened using 6199 <link to="IVirtualBox::openHardDisk()"/>. 6253 Specific type of <link to="IHardDisk" /> that is supported through a third-party plugin. 6200 6254 6201 6255 Objects that support this interface also support the 6202 <link to="IHardDisk"/> interface. 6256 <link to="IHardDisk"/> interface. In other words, in C++ terms, 6257 one can consider this class to be derived from IHardDisk. 6258 6259 As with other hard disk objects, hard disks using custom hard disk 6260 images can be opened using <link to="IVirtualBox::openHardDisk()"/>. 6203 6261 6204 6262 When a new hard disk object is created from scratch, an image file for it … … 6466 6524 wsmap="managed" 6467 6525 > 6526 <desc> 6527 Virtual CD/DVD drive in a virtual machine. Used in <link to="IMachine::DVDDrive" />. 6528 </desc> 6468 6529 <attribute name="state" type="DriveState" readonly="yes"> 6469 6530 <desc>Current drive state.</desc> … … 6614 6675 wsmap="managed" 6615 6676 > 6677 <desc> 6678 Virtual floppy drive in a virtual machine. Used in <link to="IMachine::FloppyDrive" />. 6679 </desc> 6680 6616 6681 <attribute name="enabled" type="boolean"> 6617 6682 <desc> … … 6662 6727 wsmap="managed" 6663 6728 > 6729 <desc> 6730 A virtual machine's keyboard within an <link to="IConsole" />. Used in <link to="IConsole:.keyboard" />. 6731 6732 Through this interface, the virtual machine's virtual keyboard can be controlled. One 6733 can send keystrokes to the virtual machine and send the Ctrl-Alt-Del sequence to it. 6734 </desc> 6664 6735 <method name="putScancode"> 6665 6736 <desc>Sends a scancode to the keyboard.</desc> … … 6704 6775 > 6705 6776 <desc> 6706 The IMouse interface represents a virtual mouse device. 6777 A virtual machine's mouse within an <link to="IConsole" />. Used in <link to="IConsole:.mouse" />. 6778 6779 Through this interface, the virtual machine's virtual mouse can be controlled. 6707 6780 </desc> 6708 6781 … … 7241 7314 wsmap="suppress" 7242 7315 > 7316 <desc> 7317 A virtual machine's display within an <link to="IConsole" />. 7318 7319 One display object is contained in each <link to="IConsole::display" /> 7320 attribute and represents the visual output of the virtual machine. This 7321 can represent a window on the host (for a local display). 7322 7323 </desc> 7243 7324 <attribute name="width" type="unsigned long" readonly="yes"> 7244 7325 <desc>Current display width.</desc> … … 7935 8016 > 7936 8017 <desc> 7937 The IUSBDevice interface represents a USB device captured by 7938 (attached to) a running virtual machine's USB controller. 7939 <see>IConsole::USBDevices</see> 8018 Virtual USB device within an <link to="IConsole" />. 8019 8020 A collection of these is in <link to="IConsole::USBDevices" />. 8021 Virtual USB devices can be attached to a running virtual machine's 8022 USB controller. 8023 7940 8024 </desc> 7941 8025 … … 8328 8412 > 8329 8413 <desc> 8330 The IHostUSBDevice interface represents a USB device attached to 8331 the host computer. 8414 Physical USB device attached to the host computer. 8332 8415 8333 8416 Among with properties inherited from IUSBDevice, … … 8390 8473 > 8391 8474 <desc> 8392 The IHostUSBDeviceFilter interface represents a USB device filter used8393 by the host computer.8475 Filter for a physical USB device used by the host computer. Used indirectly 8476 in <link to="IHost::USBDeviceFilters" />. 8394 8477 8395 8478 Using filters of this type, the host computer determines the initial … … 8438 8521 wsmap="struct" 8439 8522 > 8523 <desc> 8524 Virtual audio adapter in a virtual machine. Used in <link to="IMachine::audioAdapter" />. 8525 </desc> 8440 8526 <attribute name="enabled" type="boolean"> 8441 8527 <desc> … … 8789 8875 wsmap="managed" 8790 8876 > 8877 <desc> 8878 Serialization primitive for virtual machines. 8879 8880 Within VirtualBox, any time one wishes to manipulate a virtual machine, 8881 an instance of ISession is required. One first creates a session 8882 object locally and then passes it with the method call that initiates 8883 the machine manipulation. The session serves several purposes: it 8884 identifies to the inter-process VirtualBox code which process is currently 8885 working with a virtual machine, and it ensures that there are no 8886 incompatible requests from several processes for the same virtual machine. 8887 8888 For example, to start a virtual machine, one would call 8889 <link to="IVirtualBox::openRemoteSession" />, which requires a session 8890 object as its first parameter. This session then identifies the caller 8891 and makes sure that no other process attempts to manipulate the virtual 8892 machine's parameters while it is running. 8893 8894 As another example, to manipulate machine settings, one needs to 8895 open a direct session on the machine first by calling 8896 <link to="IVirtualBox::openSession" />. This prevents the machine from 8897 being changed by other processes. 8898 8899 In regular COM C++ client code, one can simply create a session object, 8900 for example by calling <tt>createLocalObject().</tt> 8901 8902 In the webservice, the session manager creates one session object during 8903 <link to="IWebsessionManager::logon" /> automatically; a managed object 8904 reference to that session object can be retrieved by calling 8905 <link to="IWebsessionManager::getSessionObject" />. 8906 </desc> 8907 8791 8908 <attribute name="state" type="SessionState" readonly="yes"> 8792 8909 <desc>Current state of this session.</desc> … … 8840 8957 wscpp="hardcoded" 8841 8958 > 8959 <desc> 8960 Webservice only: Managed object reference. 8961 8962 Only within the webservice, a managed object reference (which is really 8963 an opaque number) allows a webservice client to address an object 8964 that lives in the address space of the webservice server. 8965 8966 Behind each managed object reference, there is a COM object that lives 8967 in the webservice server's address space. The COM object is not freed 8968 until the managed object reference is released, either by an explicit 8969 call to <link to="IManagedObjectRef::release" /> or by logging off from 8970 the webservice (<link to="IWebsessionManager::logoff" />), which releases 8971 all objects created during the webservice session. 8972 8973 Whenever a method call of the VirtualBox API returns a COM object, the 8974 webservice representation of that method will instead return a 8975 managed object reference, which can then be used to invoke methods 8976 on that object. 8977 </desc> 8978 8842 8979 <method name="getInterfaceName"> 8843 8980 <desc> … … 8851 8988 <desc> 8852 8989 Releases this managed object reference and frees the resources that 8853 were allocated for it in the web 8990 were allocated for it in the webservice server process. After calling 8854 8991 this method, the identifier of the reference can no longer be used. 8855 8992 </desc> … … 8859 8996 8860 8997 <!-- 8861 // I SessionManager8998 // IWebsessionManager 8862 8999 ///////////////////////////////////////////////////////////////////////// 8863 9000 --> 8864 9001 8865 9002 <interface 8866 name="I SessionManager" extends="$unknown"9003 name="IWebsessionManager" extends="$unknown" 8867 9004 uuid="dea1b4c7-2de3-418a-850d-7868617f7733" 8868 9005 internal="yes" … … 8870 9007 wscpp="hardcoded" 8871 9008 > 9009 <desc> 9010 Webservice only: Websession manager. This provides essential services 9011 to webservice clients. 9012 </desc> 8872 9013 <method name="logon"> 8873 9014 <desc> … … 8885 9026 <desc> 8886 9027 Returns a managed object reference to the internal ISession object that was created 8887 for this web service session. On each successful logon, the web service server 8888 creates such an ISession object, which serves multiple purposes within VirtualBox. 8889 For example, it serves as an exclusive lock to disallow several processes from 8890 manipulating a VM at the same time. 9028 for this web service session when the client logged on. 9029 9030 <see>ISession</see> 8891 9031 </desc> 8892 9032 <param name="refIVirtualBox" type="wstring" dir="in"/> … … 8896 9036 <method name="logoff"> 8897 9037 <desc> 8898 Logs off the client who has previously logged on with ISessionManager::logoff9038 Logs off the client who has previously logged on with <link to="IWebsessionManager::logoff" /> 8899 9039 and destroys all resources associated with the session (most importantly, all 8900 9040 managed objects created in the server while the session was active).
Note:
See TracChangeset
for help on using the changeset viewer.