Class: PrevSocket

PrevSocket(name, node)

This class representa a prev socket, a socket that can be connected to other nexts sockets. The prev socket cab have many peer (next) socket because the execution can come from anywhere in the program

Constructor

new PrevSocket(name, node)

Construct a new PrevSocket
Parameters:
Name Type Description
name string Name of the socket
node Node Parent node
Source:

Classes

PrevSocket

Members

(private) peers

List of (next) peer sockets
Source:

Methods

clone()

Clone the socket
Source:

connect(socket)

Connect this socket to a next socket
Parameters:
Name Type Description
socket Socket The next socket to connect
Source:

disconnect(socket)

Disconnect this socket from a next socket
Parameters:
Name Type Description
socket Socket The next socket to disconnect
Source: