Class: Socket

Socket(name, node)

A socket is an object that represent an input, output, next or prev for the node

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

Socket

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: