org.virtualbox_5_0
Class INATRedirectEvent

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.INATRedirectEvent

public class INATRedirectEvent
extends IMachineEvent

Notification when NAT redirect rule added or removed. Interface ID: {24EEF068-C380-4510-BC7C-19314A7352F1}


Field Summary
 
Fields inherited from class org.virtualbox_5_0.IUnknown
obj, port
 
Constructor Summary
INATRedirectEvent(java.lang.String wrapped, org.virtualbox_5_0.jaxws.VboxPortType port)
           
 
Method Summary
 java.lang.String getGuestIP()
          Guest ip address to redirect to.
 java.lang.Integer getGuestPort()
          Guest port to redirect to.
 java.lang.String getHostIP()
          Host ip address to bind socket on.
 java.lang.Integer getHostPort()
          Host port to bind socket on.
 java.lang.String getName()
          Name of the rule.
 NATProtocol getProto()
          Protocol (TCP or UDP) of the redirect rule.
 java.lang.Boolean getRemove()
          Whether rule remove or add.
 java.lang.Long getSlot()
          Adapter which NAT attached to.
static INATRedirectEvent 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

INATRedirectEvent

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

getSlot

public java.lang.Long getSlot()
Adapter which NAT attached to.

Returns:
Long

getRemove

public java.lang.Boolean getRemove()
Whether rule remove or add.

Returns:
Boolean

getName

public java.lang.String getName()
Name of the rule.

Returns:
String

getProto

public NATProtocol getProto()
Protocol (TCP or UDP) of the redirect rule.

Returns:
org.virtualbox_5_0.NATProtocol

getHostIP

public java.lang.String getHostIP()
Host ip address to bind socket on.

Returns:
String

getHostPort

public java.lang.Integer getHostPort()
Host port to bind socket on.

Returns:
Integer

getGuestIP

public java.lang.String getGuestIP()
Guest ip address to redirect to.

Returns:
String

getGuestPort

public java.lang.Integer getGuestPort()
Guest port to redirect to.

Returns:
Integer

queryInterface

public static INATRedirectEvent queryInterface(IUnknown obj)