attach and detach occur when NoFlo Network attaches (or removes) a socket to a port. Thus, they usually occur when the network starts, before IIP messages are sent.
The exception is that you are editing the chart with a tool such as Flowhub . In this situation, attach / detach may occur whenever you connect or remove wires.
Most components do not have to worry about binding events.
connect occurs before the uplink sends data, and disconnect when the uplink says it has sent everything it intends to send. Thus, they begin the transmission and completion of transmission events. The upstream component may select connect again after disconnect if it has a new batch of data to send.
data is an event for packets containing a payload.
begingroup and endgroup are "moving IP addresses" containing metadata about the data being sent. They can be used to create tree structures with batch data.
For example, filesystem/ReadFile will send the contents of the file as a data packet, but the file name is sent via the IP address using begingroup / endgroup around the actual contents of the file.
The noflo-groups library provides many components for using group information for synchronization, routing, etc.
source share