From: Janet Davis (jlnd_at_cs.washington.edu)
Date: Sat Feb 21 2004 - 19:36:47 PST
Hi Michael,
The applications you build in the next assignment will not extend the Node
class, but rather plug into node and transport classes.
You will have a couple of choices:
- You may use a sockets-like, synchronous interface. The code in
fishnet/lib/amphibian.rb can provide this with the help of your
transport code.
- Or, you may write event-driven applications (in the style of fishnet),
which are notified by the transport service when connections and packets
arrive.
I hope this helps!
Cheers,
Janet
On Sat, 21 Feb 2004, Michael Asavareungchai wrote:
> Hi Professor Davis and TA's,
>
> My partner and I are confused about how the application we are to
> develop will call the commands that we are implementing in node.rb,
> specifically Connect, SendData, GetData, and Teardown.
>
> So if we were to have the application extend node, and we have two
> applications running from the same place, we will have multiple copies of
> the same node. We would like to figure this out as soon as possible
> because this impacts our design decisions for our transport protocol.
>
>
> Thanks,
> -Michael
>
>
-- Janet Davis jlnd_at_cs.washington.edu http://www.cs.washington.edu/homes/jlnd/ _______________________________________________ Cse461 mailing list Cse461_at_cs.washington.edu http://mailman.cs.washington.edu/mailman/listinfo/cse461
This archive was generated by hypermail 2.1.6 : Sat Feb 21 2004 - 19:36:50 PST