Public Attributes

# INATRedirectEvent Interface Reference

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

Inheritance diagram for INATRedirectEvent:

List of all members.

## Public Attributes
readonly attribute unsigned long | slot
| Adapter which NAT attached to.
readonly attribute boolean | remove
| Whether rule remove or add.
readonly attribute wstring | name
| Name of the rule.
readonly attribute NATProtocol | proto
| Protocol (TCP or UDP) of the redirect rule.
readonly attribute wstring | hostIP
| Host ip address to bind socket on.
readonly attribute long | hostPort
| Host port to bind socket on.
readonly attribute wstring | guestIP
| Guest ip address to redirect to.
readonly attribute long | guestPort
| Guest port to redirect to.

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