maxon.NetworkIpAddrPortInterface

Description

Provides an Internet Protocol (IP) address + port.
This class extends the maxon.NetworkIpAddrInterface with a port.

Inheritance diagram

Inheritance

Parent Class:

Child Class:

Methods Signature

GetAddress() Returns the address without the port.
GetPort(self) Returns the port.
SetPort(port) Sets the port.

Methods Definition

NetworkIpAddrPortInterface.GetAddress()

Returns the address without the port.

Returns:Returns the address without the port.
Return type:maxon.NetworkIpAddr
NetworkIpAddrPortInterface.GetPort(self)

Returns the port.

Returns:The port or 0 if no port was set.
Return type:int
NetworkIpAddrPortInterface.SetPort(port)

Sets the port.

Parameters:port (int) – The port or 0 to reset port information.