VirtualBox Main API
Convenience interface for client applications. More...
|void||checkMachineError (in IMachine machine)|
|Perform error checking before using an IMachine object. More...|
|readonly attribute IVirtualBox||virtualBox|
|Reference to the server-side API root object. More...|
|readonly attribute ISession||session|
|Create a new session object and return the reference to it. More...|
|readonly attribute IEventSource||eventSource|
|Event source for VirtualBoxClient events. More...|
Convenience interface for client applications.
Treat this as a singleton, i.e. never create more than one instance of this interface.
At the moment only available for clients of the local API (not usable via the webservice). Once the session logic is redesigned this might change.
Error information handling is a bit special with IVirtualBoxClient: creating an instance will always succeed. The return of the actual error code/information is postponed to any attribute or method call. The reason for this is that COM likes to mutilate the error code and lose the detailed error information returned by instance creation.
|void IVirtualBoxClient::checkMachineError||(||in IMachine||machine||)|
Perform error checking before using an IMachine object.
Generally useful before starting a VM and all other uses. If anything is not as it should be then this method will return an appropriate error.
|machine||The machine object to check.|
|readonly attribute IVirtualBox IVirtualBoxClient::virtualBox|
Reference to the server-side API root object.
|readonly attribute ISession IVirtualBoxClient::session|
Create a new session object and return the reference to it.
|readonly attribute IEventSource IVirtualBoxClient::eventSource|
Event source for VirtualBoxClient events.