VirtualBox Main API
Public Attributes | List of all members
INATRedirectEvent Interface Reference

Notification when NAT redirect rule added or removed. More...

Inheritance diagram for INATRedirectEvent:
IMachineEvent IEvent

Public Attributes

readonly attribute unsigned long slot
 Adapter which NAT attached to. More...
 
readonly attribute boolean remove
 Whether rule remove or add. More...
 
readonly attribute wstring name
 Name of the rule. More...
 
readonly attribute NATProtocol proto
 Protocol (TCP or UDP) of the redirect rule. More...
 
readonly attribute wstring hostIP
 Host ip address to bind socket on. More...
 
readonly attribute long hostPort
 Host port to bind socket on. More...
 
readonly attribute wstring guestIP
 Guest ip address to redirect to. More...
 
readonly attribute long guestPort
 Guest port to redirect to. More...
 
- Public Attributes inherited from IMachineEvent
readonly attribute wstringUUID machineId
 ID of the machine this event relates to. More...
 
- Public Attributes inherited from IEvent
readonly attribute VBoxEventType type
 Event type. More...
 
readonly attribute IEventSource source
 Source of this event. More...
 
readonly attribute boolean waitable
 If we can wait for this event being processed. More...
 

Additional Inherited Members

- Public Member Functions inherited from IEvent
void setProcessed ()
 Internal method called by the system when all listeners of a particular event have called IEventSource::eventProcessed. More...
 
void waitProcessed (in long timeout, [retval] out boolean result)
 Wait until time outs, or this event is processed. More...
 

Detailed Description

Notification when NAT redirect rule added or removed.

Interface ID:
{24EEF068-C380-4510-BC7C-19314A7352F1}

Member Data Documentation

readonly attribute unsigned long INATRedirectEvent::slot

Adapter which NAT attached to.

readonly attribute boolean INATRedirectEvent::remove

Whether rule remove or add.

readonly attribute wstring INATRedirectEvent::name

Name of the rule.

readonly attribute NATProtocol INATRedirectEvent::proto

Protocol (TCP or UDP) of the redirect rule.

readonly attribute wstring INATRedirectEvent::hostIP

Host ip address to bind socket on.

readonly attribute long INATRedirectEvent::hostPort

Host port to bind socket on.

readonly attribute wstring INATRedirectEvent::guestIP

Guest ip address to redirect to.

readonly attribute long INATRedirectEvent::guestPort

Guest port to redirect to.