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
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: