Class: NextSocket

NextSocket(name, node)

This class represents a socket to redirect the flow to another node via a node's prev socket. This socket can be connected to only one (prev) socket, because the program flow have to be well defined

Constructor

new NextSocket(name, node)

Construct a new NextSocket
Parameters:
Name Type Description
name string Name of the socket
node Node The parent node of the socket
Source:

Classes

NextSocket

Members

(private) peer

The peer (prev) socket
Source:

Methods

clone()

Clone the spcket
Source:

connect(socket)

Connect this socket to another (prev) socket
Parameters:
Name Type Description
socket Socket The prev socket to connect to
Source:

disconnect()

Disconnect this socket from the peer
Source: