Tutorial 2009-12-23

Requirements

Required modules

  • SPADE (included);
  • Tkinter;
  • python-dns.

Configuration

cedric@debian:~/pyChatter/source/spade$ python configure.py spade_platform_address

Initialization

Launch the SPADE platform:

cedric@debian:~/pyChatter/source/spade$ python runspade.py &

And the two clients:

cedric@debian:~/pyChatter/source$ python2.5 simpleGui.py --name Bob &
cedric@debian:~/pyChatter/source$ python2.5 simpleGui.py --name Alice

Screen shots

These screen shots show how to:

  • add a client to the list of interlocutors;
  • accept a discussion;
  • block and unblock a client.
tuto20091223-1.png
tuto20091223-2.png
tuto20091223-3.png
tuto20091223-4.png

Accept an incoming message

tuto20091223-5.png
tuto20091223-6.png
tuto20091223-7.png

Block and unblock an interlocutor

tuto20091223-8.png
tuto20091223-9.png

Remove a client from the list of interlocutors

tuto20091223-10.png
tuto20091223-11.png
Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-NonCommercial-ShareAlike 3.0 License