org.virtualbox_5_0
Class IHostPCIDevicePlugEvent

java.lang.Object
  extended by org.virtualbox_5_0.IUnknown
      extended by org.virtualbox_5_0.IEvent
          extended by org.virtualbox_5_0.IMachineEvent
              extended by org.virtualbox_5_0.IHostPCIDevicePlugEvent

public class IHostPCIDevicePlugEvent
extends IMachineEvent

Notification when host PCI device is plugged/unplugged. Plugging usually takes place on VM startup, unplug - whenIMachine.detachHostPCIDevice(Integer)is called.

See Also:
Interface ID: {A0BAD6DF-D612-47D3-89D4-DB3992533948}

Field Summary
 
Fields inherited from class org.virtualbox_5_0.IUnknown
obj, port
 
Constructor Summary
IHostPCIDevicePlugEvent(java.lang.String wrapped, org.virtualbox_5_0.jaxws.VboxPortType port)
           
 
Method Summary
 IPCIDeviceAttachment getAttachment()
          Attachment info for this device.
 java.lang.String getMessage()
          Optional error message.
 java.lang.Boolean getPlugged()
          If device successfully plugged or unplugged.
 java.lang.Boolean getSuccess()
          If operation was successful, if false - 'message' attribute may be of interest.
static IHostPCIDevicePlugEvent queryInterface(IUnknown obj)
           
 
Methods inherited from class org.virtualbox_5_0.IMachineEvent
getMachineId
 
Methods inherited from class org.virtualbox_5_0.IEvent
getSource, getType, getWaitable, setProcessed, waitProcessed
 
Methods inherited from class org.virtualbox_5_0.IUnknown
getRemoteWSPort, getWrapped, releaseRemote
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IHostPCIDevicePlugEvent

public IHostPCIDevicePlugEvent(java.lang.String wrapped,
                               org.virtualbox_5_0.jaxws.VboxPortType port)
Method Detail

getPlugged

public java.lang.Boolean getPlugged()
If device successfully plugged or unplugged.

Returns:
Boolean

getSuccess

public java.lang.Boolean getSuccess()
If operation was successful, if false - 'message' attribute may be of interest.

Returns:
Boolean

getAttachment

public IPCIDeviceAttachment getAttachment()
Attachment info for this device.

Returns:
org.virtualbox_5_0.IPCIDeviceAttachment

getMessage

public java.lang.String getMessage()
Optional error message.

Returns:
String

queryInterface

public static IHostPCIDevicePlugEvent queryInterface(IUnknown obj)