\App\IqrfNetModule\ModelsGwModeManager

Tool for controlling IQRF Gateway Daemon's mode

Summary

Methods
Properties
Constants
__construct()
set()
get()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Methods

__construct()

__construct(\App\IqrfNetModule\Models\ApiRequest  request, \App\IqrfNetModule\Models\WebSocketClient  wsClient) : 

Constructor

Parameters

\App\IqrfNetModule\Models\ApiRequest request

JSON API request

\App\IqrfNetModule\Models\WebSocketClient wsClient

WebSocket client

Returns

set()

set(  mode) : 

Sets IQRF Gateway Daemon's operation mode

Parameters

mode

IQRF Gateway Daemon's operation mode

Throws

\App\IqrfNetModule\Models\DpaErrorException
\App\IqrfNetModule\Models\EmptyResponseException
\App\IqrfNetModule\Models\InvalidOperationModeException
\App\IqrfNetModule\Models\JsonException
\App\IqrfNetModule\Models\UserErrorException

Returns

get()

get() : 

Returns the current IQRF Gateway Daemon's operation mode

Throws

\App\IqrfNetModule\Models\DpaErrorException
\App\IqrfNetModule\Models\EmptyResponseException
\App\IqrfNetModule\Models\JsonException
\App\IqrfNetModule\Models\UserErrorException

Returns

Current IQRF Gateway Daemon's operation mode