Class: VBox::HostPCIDevicePlugEvent

Inherits:
MachineEvent show all
Defined in:
lib/virtualbox/classes/events/host_pci_device_plug_event.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from MachineEvent

#machine_id

Methods inherited from Event

#set_processed, #source, #type, #wait_processed, #waitable

Methods inherited from Base

#_this, #delete!, #ensure_hash, #initialize, #vbox_class

Constructor Details

This class inherits a constructor from VBox::Base

Instance Attribute Details

#refObject (readonly)

Returns the value of attribute ref.



4
5
6
# File 'lib/virtualbox/classes/events/host_pci_device_plug_event.rb', line 4

def ref
  @ref
end

Instance Method Details

#attachmentObject



16
17
18
# File 'lib/virtualbox/classes/events/host_pci_device_plug_event.rb', line 16

def attachment
  VBox::WebService.send_request(:i_host_pci_device_plug_event_get_attachment, _this)
end

#messageObject



20
21
22
# File 'lib/virtualbox/classes/events/host_pci_device_plug_event.rb', line 20

def message
  VBox::WebService.send_request(:i_host_pci_device_plug_event_get_message, _this)
end

#pluggedObject

Attributes



8
9
10
# File 'lib/virtualbox/classes/events/host_pci_device_plug_event.rb', line 8

def plugged
  VBox::WebService.send_request(:i_host_pci_device_plug_event_get_plugged, _this)
end

#successObject



12
13
14
# File 'lib/virtualbox/classes/events/host_pci_device_plug_event.rb', line 12

def success
  VBox::WebService.send_request(:i_host_pci_device_plug_event_get_success, _this)
end