Package prlsdkapi :: Class PortForward
[hide private]
[frames] | no frames]

Class PortForward

object --+    
         |    
   _Handle --+
             |
            PortForward

Provides access to the Port Forwarding functionality. Using this functionality, you can redirect all incoming data from a specific TCP port on the host computer to a specified port in a specified virtual machine.

Instance Methods [hide private]
 
__init__(self, handle=0)
x.__init__(...) initializes x; see help(type(x)) for signature
 
create(self)
Create a new instance of the PortForward class.
 
get_rule_name(self)
 
set_rule_name(self, sRuleName)
 
get_incoming_port(self)
Return the incoming port.
 
set_incoming_port(self, nIncomingPort)
Set the specified incoming port.
 
get_redirect_ipaddress(self)
Return the redirect IP address of the specified port forward entry.
 
set_redirect_ipaddress(self, sRedirectIPAddress)
Set the specified port forward entry redirect IP address.
 
get_redirect_port(self)
Return the redirect port.
 
set_redirect_port(self, nRedirectPort)
Set the specified redirect port.
 
get_redirect_vm(self)
 
set_redirect_vm(self, sRedirectVm)

Inherited from _Handle: __del__, add_ref, free, from_string, get_handle_type, get_package_id, get_type

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, handle=0)
(Constructor)

 

x.__init__(...) initializes x; see help(type(x)) for signature

Overrides: object.__init__
(inherited documentation)