Class: VBox::NATRedirectEvent

Inherits:
MachineEvent show all
Defined in:
lib/virtualbox/classes/events/nat_redirect_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/nat_redirect_event.rb', line 4

def ref
  @ref
end

Instance Method Details

#guest_ipObject



32
33
34
# File 'lib/virtualbox/classes/events/nat_redirect_event.rb', line 32

def guest_ip
  VBox::WebService.send_request(:inat_redirect_event_get_guest_ip, _this)
end

#guest_portObject



36
37
38
# File 'lib/virtualbox/classes/events/nat_redirect_event.rb', line 36

def guest_port
  VBox::WebService.send_request(:inat_redirect_event_get_guest_port, _this)
end

#host_ipObject



24
25
26
# File 'lib/virtualbox/classes/events/nat_redirect_event.rb', line 24

def host_ip
  VBox::WebService.send_request(:inat_redirect_event_get_host_ip, _this)
end

#host_portObject



28
29
30
# File 'lib/virtualbox/classes/events/nat_redirect_event.rb', line 28

def host_port
  VBox::WebService.send_request(:inat_redirect_event_get_host_port, _this)
end

#nameObject



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

def name
  VBox::WebService.send_request(:inat_redirect_event_get_name, _this)
end

#protoObject



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

def proto
  VBox::WebService.send_request(:inat_redirect_event_get_proto, _this)
end

#removeObject



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

def remove
  VBox::WebService.send_request(:inat_redirect_event_get_remove, _this)
end

#slotObject

Attributes



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

def slot
  VBox::WebService.send_request(:inat_redirect_event_get_slot, _this)
end