Assignment 2 (pdf, added on 30.04.09)
Assignment 1 (pdf, added on 25.03.09)
Students need to download the Avis Client Library from Sourceforge. The Library doesn't contain the code for an Elvin router, which the assignment processes use to communicate. Students can either use the ITEE Elvin router (Elvin URL elvin://elvin.students.itee.uq.edu.au) or setup their own Elvin router using the Avis Elvin router (also available from Sourceforge).
This is an example Elvin Producer (sends Elvin notifications).
This is an example Elvin Consumer (receives Elvin notifications)
NOTE:
- you need to include the avis-client.jar (from the client/lib subdirectory of the Avis library) in your classpath before you try to compile/run these examples
- the Consumer must be up and running before the Producer is started (otherwise it will miss the Producer's notification)
- both the Consumer and the Producer take one command line argument: the Elvin router to connect to (e.g., elvin://elvin.students.itee.uq.edu.au)
Assuming the classpath has been set correctly, you should be able to start the examples by typing:
java ElvinConsumer elvin://elvin.students.itee.uq.edu.au
and in another window/terminal
java ElvinProducer elvin://elvin.students.itee.uq.edu.au
Additionally, the HelloWorld example from Avis may give some hints about implementing the Pseudo-RPC requirement of the assignment.
