Futurescale, Inc. PureMVC Home

The PureMVC Framework Code at the Speed of Thought


Over 10 years of community discussion and knowledge are maintained here as a read-only archive.

New discussions should be taken up in issues on the appropriate projects at https://github.com/PureMVC

Pages: [1]
Print
Author Topic: Filtering  (Read 6842 times)
davidTikva
Jr. Member
**
Posts: 12


View Profile Email
« on: January 27, 2011, 11:57:36 »

Hello, I'm building a pureMVC based Application with multiCore version and pipes and I wanted to know what is the right/best way to send a message from the shell through the TeeSpleet to only one module.

if the shell send a message through the TeeSplit - everyone get the message and need to check if it's for them.
it's a little bit ineffective I think.

so what is the right way?

thanks !
Logged
puremvc
Global Moderator
Hero Member
*****
Posts: 2871



View Profile WWW Email
« Reply #1 on: February 01, 2011, 01:23:01 »

Add pipes between any cores that you want to communicate with each other directly, and talk to the core on its own pipe.

A TeeSplit is useful for 'broadcast' messages you want go to all the cores connected to its outputs.

-=Cliff>
Logged
Pages: [1]
Print