FZPBus
FZP Bus class
Example:
const {FZBus} = require('fzp-js')
let bus = new FZBus()
bus.setId('sample')
bus.setModeMember('mode')
Constructor Summary
| Public Constructor | ||
| public |
FZPBus constructor |
|
Member Summary
| Public Members | ||
| public |
Store the FZP bus id |
|
| public |
Store the FZP node members as an array |
|
Method Summary
| Public Methods | ||
| public |
existModeMember(m: String): Boolean check if the given node member name does not exist at the nodeMembers array |
|
| public |
Return the id |
|
| public |
Return the nodeMembers array |
|
| public |
|
|
| public |
Set the FZP bus id |
|
| public |
setNodeMember(m: String): FZPBus add a new node member if not exist |
|
| public |
Return the total number of nodeMembers |
|
Public Constructors
Public Members
Public Methods
public existModeMember(m: String): Boolean source
check if the given node member name does not exist at the nodeMembers array
Params:
| Name | Type | Attribute | Description |
| m | String |
public setId(id: String): FZPBus source
Set the FZP bus id
Params:
| Name | Type | Attribute | Description |
| id | String |
