Next: The Multi-MAj
Up: The JXTA components
Previous: The client
Contents
The SeD
The role of the SeD is to allow clients to send computation requests to the
SeD. The SeD receives the requests sent by clients, calls the
SeD (that returns the response) and then sends the result to the client.
The general behavior of the SeD is written below:
- launch a new JXTA peer,
- create an input pipe to receive the clients' requests,
- launch the SeD,
- process each request by a thread that:
- forwards the packed request received to the SeD and waits for a
packed response,
- sends the response to the client after having bound an output pipe to its
input pipe.
DIET Team. 2010-05-26