\App\IqrfNetModule\PresentersSendRawPresenter

Send raw DPA packet presenter

Summary

Methods
Properties
Constants
afterRender()
injectTranslator()
createTemplate()
__construct()
renderDefault()
handleShowResponse()
$versionManager
$lang
$sendRawFactory
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Properties

$versionManager

$versionManager : \App\CoreModule\Presenters\VersionManager

Type

\App\CoreModule\Presenters\VersionManager — Version manager

$lang

$lang : 

Type

— Language

$sendRawFactory

$sendRawFactory : \App\IqrfNetModule\Presenters\SendRawFormFactory

Type

\App\IqrfNetModule\Presenters\SendRawFormFactory — Send raw DPA packet form

Methods

afterRender()

afterRender() : 

After template render

Returns

injectTranslator()

injectTranslator(\App\CoreModule\Presenters\Translator  translator) : 

Inject translator service

Parameters

\App\CoreModule\Presenters\Translator translator

Translator

Returns

createTemplate()

createTemplate() : \App\CoreModule\Presenters\ITemplate

Create an template

Returns

\App\CoreModule\Presenters\ITemplate —

Template

__construct()

__construct(string  fileName, \App\IqrfNetModule\Presenters\DpaRawManager  manager) : 

Constructor

Parameters

string fileName
\App\IqrfNetModule\Presenters\DpaRawManager manager

DPA Raw request and response manager

Returns

renderDefault()

renderDefault() : 

Render send raw DPA packet page

Returns

handleShowResponse()

handleShowResponse(mixed||string|int  data) : 

AJAX handler for showing DPA request and response

Parameters

mixed||string|int data

DPA request and response

Throws

\App\IqrfNetModule\Presenters\DpaErrorException
\App\IqrfNetModule\Presenters\EmptyResponseException
\App\IqrfNetModule\Presenters\JsonException
\App\IqrfNetModule\Presenters\UserErrorException

Returns