Overview

Namespaces

  • App
    • CloudModule
      • Forms
      • Model
      • Presenters
    • ConfigModule
      • Forms
      • Model
      • Presenters
    • Forms
    • GatewayModule
      • Model
      • Presenters
    • IqrfAppModule
      • Forms
      • Model
      • Presenters
    • Model
    • Presenters
    • Router
    • ServiceModule
      • Model
      • Presenters
  • PHP
  • Test
    • ConfigModule
      • Model
    • IqrfAppModule
      • Model
    • Model
    • Router
    • ServiceModule
      • Model

Classes

  • AwsManager
  • AzureManager
  • BluemixManager
  • InteliGlueManager

Exceptions

  • InvalidConnectionString
  • Overview
  • Namespace
  • Class
  • Tree
  • Deprecated
  • Todo

Class AzureManager

Tool form managing Azure IoT Hub

App\CloudModule\Model\AzureManager uses Nette\SmartObject (not available)
Namespace: App\CloudModule\Model
Located at CloudModule/model/AzureManager.php
Methods summary
public Nette\Utils\ArrayHash
# createMqttInterface( App\CloudModule\Model\string $connectionString )

Create MQTT interface from MS Azure IoT Hub Connection string

Create MQTT interface from MS Azure IoT Hub Connection string

Parameters

$connectionString
MS Azure IoT Hub Connection string

Returns

Nette\Utils\ArrayHash
MQTT interface
public Nette\Utils\ArrayHash
# createBaseService( )

Create base service

Create base service

Returns

Nette\Utils\ArrayHash
Base service
public
# checkConnectionString( App\CloudModule\Model\string $connectionString )

Validate MS Azure IoT Hub Connection String for devices

Validate MS Azure IoT Hub Connection String for devices

Parameters

$connectionString
MS Azure IoT Hub Connection String

Throws

App\CloudModule\Model\InvalidConnectionString
public string
# generateSasToken( App\CloudModule\Model\string $resourceUri, App\CloudModule\Model\string $signingKey, App\CloudModule\Model\string $policyName = null, App\CloudModule\Model\int $expiresInMins = 525600 )

Generate shared access signature token

Generate shared access signature token

Parameters

$resourceUri
URI prefix (by segment) of the endpoints that can be accessed with this token, starting with host name of the IoT hub (no protocol).
$signingKey
Signing key
$policyName
The name of the shared access policy to which this token refers. Absent if the token refers to device-registry credentials.
$expiresInMins
Expiration in minutes

Returns

string
MS Azure Shared access signature token
public array
# parseConnectionString( App\CloudModule\Model\string $connectionString )

Parse Microsoft Azure IoT HUb connection string

Parse Microsoft Azure IoT HUb connection string

Parameters

$connectionString
MS Azure IoT Hub Connection string

Returns

array
Values from the connection string
Properties summary
private string $interfaceName

MQTT interface name

MQTT interface name

# 'MqttMessagingAzure'
IQRF Gateway Daemon webapp API documentation generated by ApiGen