Next: The Multi-MA
Up: The JXTA components
Previous: The client
Contents
The SeD
The role of the SeD is to allow the 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 behaviour 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 - 2008-07-17