Porovnávané verzie

Kľúč

  • Tento riadok sa pridal
  • Riadok je odstránený.
  • Formátovanie sa zmenilo.

This example describes an implementation of a simple version of the server that is used to send messages between the clients. The main purpose of the example is to present how you can avoid the errors, described here, by using the conversations.

The implementation consists of a server, which is represented by the object E.MAIL_SERVER, and client S.MAIL_CLIENT. E.MAIL_SERVER provides an interface (realized by RPC procedures) that is used by the clients. The only requirement for the client is to implement ESL interface I.MAIL_CLIENT, which uses the structure definition SD.MAIL_CLIENT_INFO.

The figure below displays the described condition.

Image Modified

The interactions between the client and server are depicted below:

Client login

Image Modified

Client logon

Image Modified

Client crash

Image Modified

Server crash

Image Modified

Sending message

Image Modified

Info
titleRelated pages:

Application-defined conversations
Using conversations

...