- Principle - JUPITER server allows to communicate, two software objects (Communicators) local or remote client-server mode.
AbstractMessage
Client
Request
Communicator
Server
Communicator Response
A communicator may be a server, a client, or both at once. The messages that pass must inherit the abstract class "AbstractMessage"
1- Client Mode It is first necessary to create a connection with the server using its IP address and listening port. Then send requests to the server. Each request sent systematically be answered. Communication mode is called synchronous.
-2-
Jupiter
February 18, 2018
For a given connection: - It is not possible to send several requests simultaneously. - It is not possible to submit a request as long as we did not receive the answer to the previous query.
2- Server mode The communicator is multithreaded. It can accept and handle multiple connections simultaneously. The query receiver object must inherit the class "AbstractSynchrone"