Constructor
new Socket(name, node)
Construct a new socket on a node with a given name
Parameters:
Name | Type | Description |
---|---|---|
name |
string | The name of the socket |
node |
Node | The parent node of the socket |
- Source:
Classes
Members
(private) id
The internal id of the socket
- Source:
lastSocketIdIndex
An incremental index to generate unique socket IDs
- Source:
(private) name
The name of this socket
- Source:
(private) node
The parent node
- Source:
Methods
clone()
Clone the spcket
- Source: