Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.

Share this Page URL

Collaboration objects > ProcessCollaboration_1 - ProcessCollaboration_N - Pg. 176

C.3.2 ProcessCollaboration_1 - ProcessCollaboration_N These collaboration objects are generated from the ProcessCollaboration template (Figure C-9). Figure C-9 Collaboration objects The property PROCESS_ID needs to be set for each collaboration object, from 1 to NUM_OF_PROCESSES, which was defined in the ForkCollaboration_N_Processes. The Fork port is bounded to the ForkAdapter. As explained previously, the adapter is necessary for the asynchronous execution. The Join port cannot be bound directly to the collaboration object that implements the join process because it can't be bound simultaneously to several collaboration objects. Therefore, this port is bound to a well-defined adapter, the JoinAdapter, which is covered in the next section.