\App\ConfigModule\DatagridsWebSocketDataGridFactory

Render a WebSocket interface data grid

Summary

Methods
Properties
Constants
__construct()
create()
changeAsyncMsg()
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\ConfigModule\Datagrids\DataGridFactory  dataGridFactory, \App\ConfigModule\Datagrids\WebSocketManager  configManager) : 

Constructor

Parameters

\App\ConfigModule\Datagrids\DataGridFactory dataGridFactory

Generic data grid factory

\App\ConfigModule\Datagrids\WebSocketManager configManager

WebSocket interface manager

Returns

create()

create(\App\ConfigModule\Datagrids\WebsocketPresenter  presenter,   name) : \App\ConfigModule\Datagrids\DataGrid

Create component data grid

Parameters

\App\ConfigModule\Datagrids\WebsocketPresenter presenter

WebSocket interface configuration presenter

name

Data grid's component name

Throws

\App\ConfigModule\Datagrids\DataGridColumnStatusException
\App\ConfigModule\Datagrids\DataGridException
\App\ConfigModule\Datagrids\JsonException

Returns

\App\ConfigModule\Datagrids\DataGrid —

WebSocket data grid

changeAsyncMsg()

changeAsyncMsg(  id,   status) : 

Change status of the async messaging

Parameters

id

Component ID

status

New async messaging status

Throws

\App\ConfigModule\Datagrids\JsonException

Returns