Re: [nox-dev] asynchronous behavior in NOX

2010-03-11 Thread Ashish Agarwal
I'm probably missing something basic, but if events are processed sequentially and each event is sent sequentially to each of its handlers, then where does threading play a role? On Tue, Mar 9, 2010 at 9:18 PM, Martin Casado wrote: > Events are processed sequentially until an event blocks on an

[nox-dev] asynchronous behavior in NOX

2010-03-08 Thread Ashish Agarwal
NOX is described as supporting an asynchronous programming model. I'm trying to understand what this means by considering the following scenarios: Multiple components are registered to handle a single event. I understand that this event will be passed sequentially to each component registered to h

Re: [nox-dev] list of events and their handlers

2010-02-23 Thread Ashish Agarwal
n by base components? The components can be listed > from all the meta.xml. Yes, ugly. nox-draw-dependencies already does > that to draw the dependency-graph though. > > Regards > KK > > On 23 February 2010 19:28, Ashish Agarwal wrote: > > Thanks for the replies! This is very

Re: [nox-dev] list of events and their handlers

2010-02-23 Thread Ashish Agarwal
GENERATE_HTML = YES > > > > Then, in the same folder run 'doxygen doxygen.conf' and check the > index.html > > in the newly created 'html' folder > > > > It will be a bit hard to decipher some of the relations between > components &g

[nox-dev] list of events and their handlers

2010-02-23 Thread Ashish Agarwal
Is there any way to get a list of events provided by default in NOX, along with a list of which components raise and handle them? Thank you. ___ nox-dev mailing list nox-dev@noxrepo.org http://noxrepo.org/mailman/listinfo/nox-dev_noxrepo.org

Re: [nox-dev] understanding NOX internals

2010-02-16 Thread Ashish Agarwal
t; latter components will receive the events. > > Hope I am being clear here. > > Regards > KK > > > On 16 February 2010 10:22, Ashish Agarwal wrote: > > Okay I kind of understand that, although I don't see this defined in > > nox.xml. This file just lists some

Re: [nox-dev] understanding NOX internals

2010-02-16 Thread Ashish Agarwal
ng event.. For example CONTINUE > would push the event to be handled by the next component, and STOP would > stop the forwarding of the event along the handler chain. This chain is > defined in nox.xml > > I might be wrong, so someone else can correct me > > On Tue, Feb 16, 201

[nox-dev] understanding NOX internals

2010-02-16 Thread Ashish Agarwal
Hi. What is a Disposition? I don't find a class definition for this within the NOX source code. I'm trying to understand NOX's design overall. I've read the white paper, but the NOX manual says that unfortunately NOX's internal design is not well documented. Is that still the case, or is there som

[nox-dev] verify switches connected from web browser

2010-02-10 Thread Ashish Agarwal
Following the instructions in the NOX Manual: Setting Up a Virtual Testing Environment, I get through all steps except the last. It states that you can verify that the switches are connected by going to http://localhost:. I did this but it just says cannot connect. What am I supposed to see? Th

Re: [nox-dev] Nox installation: problem with make check

2010-01-11 Thread Ashish Agarwal
Looks like the same error I reported a few weeks ago. The following sequence of commands led to a successful install for me: git clone git://noxrepo.org/nox cd nox git cherry-pick 8f34004cbce1bf94965c336502665e72a929612a ./boot.sh ./configure make make check On Mon, Jan 11, 2010 at 4:30 PM, kk y

Re: [nox-dev] make check errors

2009-12-21 Thread Ashish Agarwal
rm this works. I will push this commit to NOX > 0.6. Thanks. > > Regards > KK > > 2009/12/19 Ashish Agarwal : > > Thanks. Yes, I am running 4.4. I think the documentation said 4.2 or > higher. > > I can try your recommendation but should I instead just install gcc 4

Re: [nox-dev] make check errors

2009-12-19 Thread Ashish Agarwal
-delay.cc > src/tests/test-timer-dispatcher-duplicates.cc > src/tests/test-timer-dispatcher-starvation.cc > > (Might as well just add it after all the other #include lines in each file) > > `make check` should then succeed, and run the tests > > On Sat 19/12/09 01:12, "Ash

[nox-dev] make check errors

2009-12-18 Thread Ashish Agarwal
I got NOX 0.6 compiled and then ran some of the tests mentioned in the documentation. Some fail and some succeed so I'm wondering if my installation worked or not. The tests I ran are: ./nox_core -h -- this works fine make check -- fails as shown below ./nox_core tests -- fails with errors shown

Re: [nox-dev] problem downloading nox

2009-12-18 Thread Ashish Agarwal
It's just a typo in the command. It should say git "clone". On Fri, Dec 18, 2009 at 4:25 PM, Ashish Agarwal wrote: > $ git pull git://noxrepo.org/nox > fatal: Not a git repository (or any of the parent directories): .git > > Is this path correct? This is what is g

[nox-dev] problem downloading nox

2009-12-18 Thread Ashish Agarwal
$ git pull git://noxrepo.org/nox fatal: Not a git repository (or any of the parent directories): .git Is this path correct? This is what is given on the website. Thanks. ___ nox-dev mailing list nox-dev@noxrepo.org http://noxrepo.org/mailman/listinfo/nox