Ooh I see, it uses the Configuration object. I was able to get it working in python. In case anyone else has this problem, if you override configure you can use config['arguments'] to get a list of args passed to the component.

Thanks KK!
Derek

On 11/30/2010 11:10 AM, kk yap wrote:
Hi Derek,

In C/C++, jsonmessenger provides an example.

Regards
KK

On 29 November 2010 17:57, Derek Cormier<derek.corm...@lab.ntt.co.jp>  wrote:
Hi Kyriakos,

I was looking to send arguments when running ./nox_core. I just found the
documentation on the Wiki, but it's not clear on how to access the arguments
from the component. Do you know how to do this?

Thanks!
-Derek

On 11/30/2010 10:16 AM, Kyriakos Zarifis wrote:

Hi Derek,
You can pass arguments to components on startup as flags when you run
./nox_core
If you're talking about sending commands to components while NOX is running
(which is think is what you want?), this can also be done using the
messenger component. The idea is that you send a command (as a json string)
to the messenger, indicating which component it is meant for. This would
raise a JSONmsg_event which can be caught and handled by your component.

I think the script nox_console communicates only with LAVI in that way, but
it provides an example, and the idea is the same for any component.
(If you use the GUI from destiny, you can type a json command in the console
and direct it to any component)
On Mon, Nov 29, 2010 at 4:48 PM, Derek Cormier<derek.corm...@lab.ntt.co.jp>
wrote:
Is there any way to send command line arguments to Nox components?

Thanks,
Derek

_______________________________________________
nox-dev mailing list
nox-dev@noxrepo.org
http://noxrepo.org/mailman/listinfo/nox-dev_noxrepo.org


_______________________________________________
nox-dev mailing list
nox-dev@noxrepo.org
http://noxrepo.org/mailman/listinfo/nox-dev_noxrepo.org






_______________________________________________
nox-dev mailing list
nox-dev@noxrepo.org
http://noxrepo.org/mailman/listinfo/nox-dev_noxrepo.org

Reply via email to