next up previous contents
Next: C++ Library Up: Introduction Previous: OpenMAIA toolbox   Contents

OPENMAIA communication method

OPENMAIA use a textual protocol based on TCP/IP standard. Every module of the application is connected to the message server that will repeat every incoming message from one module to the other connected modules (Figure 1.1).

Figure 1.1: The message $<$M$>$ is repeated from Mod1 to the other modules.
\includegraphics{images/repeat_message.eps}

A message is composed from a command part and a list of associated parameters. All the informations are transmitted using a textual protocol that have the following form:

  $$$$
  message
  COMMAND:test
  PARAMETERS:par1;par2;par3
  ####

Parameters are reported as textual, and special characters : and ; used by the protocol are escaped using \ symbol. For example to send text command with ; parameters the follow message is transmitted:

  $$$$
  message
  COMMAND:text
  PARAMETERS:\;
  ####


2005-07-12