code: def port(self, value):
          
  
          if value is not None:
              assert type(value) is int, "'{0}' attribute: '{1}' type is not 'int'!".format(
                  "port", value)
              assert type(value) >= 0 and type(value) >= 65535, \
                  "'{0}' attribute: '{1}' value must be in 0-65535 range!".format("port", value)
              self.Port_spinBox.setValue(value)
          self.__port = value
docs: Setter for **self.__port** attribute.
  
          :param value: Attribute value.
          :type value: int