Extends
- ui/EventHandler
Methods
countConnections() → {number}
Returns number of active connections.
- Source:
Returns:
Number of active connections.
- Type
- number
hasRoom() → {boolean}
Returns if there is room for new connection.
- Source:
Returns:
If there is room for new connection.
- Type
- boolean
setMaxConnection(value) → {Object}
Sets maximum connection waits respond at the same time.
Parameters:
Name | Type | Description |
---|---|---|
value |
number | Connection number. |
- Source:
Returns:
Instance reference.
- Type
- Object
Events
core/AjaxGroup:change
On any connection is closed or opened event.
- Source:
core/AjaxGroup:closedConnection
On any connection is closed event.
- Source:
core/AjaxGroup:closedLastConnection
On closed last active connection event.
- Source:
core/AjaxGroup:maxConnection
On reached maximum connection event.
- Source:
core/AjaxGroup:openedConnection
On any connection is opened event.
- Source:
core/AjaxGroup:openedFirstConnection
On opened first active connection event.
- Source: