Die4Ever / AsyncGameEngine

GNU General Public License v3.0
0 stars 0 forks source link

Proxies #14

Open Die4Ever opened 5 years ago

Die4Ever commented 5 years ago

The proxy module would send a message to the module that it wants to proxy for. The proxied module will then only send messages to the proxy module and will ignore messages coming from other modules. Will need a proxy message wrapper that wraps a block of messages.

The proxy module could listen for ModuleStart messages in order to proxy new modules as they get created.

Unfortunately this means it's possible for a module to ignore a proxy (not sure why a developer would do that). The alternative would be creating another message queue in-between the proxy module and it's proxied models, this seems more complicated and less efficient.

Die4Ever commented 5 years ago

should it be possible to make a web of message queues? especially with multi-chip CPUs it might be useful to isolate groups of modules together?