\App\IqrfNetModule\FormsSendRawFormFactory

Send DPA packet form factory

Summary

Methods
Properties
Constants
__construct()
create()
onSuccess()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
$manager
$factory
$presenter
N/A

Properties

$manager

$manager : \App\IqrfNetModule\Models\DpaRawManager

Type

normal — JSON DPA request and response manager

$factory

$factory : \App\CoreModule\Forms\FormFactory

Type

normal — Generic form factory

$presenter

$presenter : \App\IqrfNetModule\Presenters\SendRawPresenter

Type

normal — Send DPA packet presenter

Methods

__construct()

__construct(\App\CoreModule\Forms\FormFactory  $factory, \App\IqrfNetModule\Models\DpaRawManager  $manager) : mixed

Constructor

Parameters

\App\CoreModule\Forms\FormFactory $factory

Generic form factory

\App\IqrfNetModule\Models\DpaRawManager $manager

JSON DPA request and response manager

Returns

mixed

create()

create(\App\IqrfNetModule\Presenters\SendRawPresenter  $presenter) : \Nette\Application\UI\Form

Creates send DPA packet form

Parameters

\App\IqrfNetModule\Presenters\SendRawPresenter $presenter

Send DPA packet presenter

Returns

\Nette\Application\UI\Form —

Send DPA packet form

onSuccess()

onSuccess(\Nette\Application\UI\Form  $form) : void

Sends DPA packet

Parameters

\Nette\Application\UI\Form $form

Send DPA packet form

Throws

\Nette\Utils\JsonException