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

Show Posts

* | |

  Show Posts
Pages: [1]
1  PureMVC Manifold / MultiCore Version / Re: Difference between multicore and standard ? on: February 26, 2009, 06:44:54
Yep, you're right, wrong section.  Sorry.

Thanks for replying.
2  PureMVC Manifold / MultiCore Version / Re: Difference between multicore and standard ? on: February 26, 2009, 01:15:33
I have a question regarding multicore vs standard.

On the gwt port, it seems that there is a difference in the way to add subCommands in a MacroCommand. 

In standard version, MacroCommand.addSubCommand expects a reference to the command.class to be instanciated by the controller upon notified, as stated by the best practiced documentation.

:
    protected void addSubCommand(Class<? extends ICommand> commandClassRef) {
        this.subCommands.add(commandClassRef);
    }


With the multicore version,  MacroCommand.addSubCommand expects an instanciated ICommand object.  So, when should the command be instanciated then ? 

:
protected void addSubCommand( ICommand commandClassRef )
{
this.subCommands.addElement( commandClassRef );
}

Aside from the fact that the documentation refers to singletons only, are there other aspects of the multicore version that are not covered in the documentation ?

Thanks

Bruno

Pages: [1]