next up previous contents
Next: Construction of openmaia::connector Up: Library usage Previous: message object   Contents

openmaia::connector object

Figure 2.2: openmaia::connector object
\includegraphics{images/stl_connector.eps}

Figure 2.2 shows the structure of connector object. This object handles TCP connection with the message server hand permit to send and receive messages.

To send messages use send_message method. Informations about message are stored into openmaia::message object that is explained in section 2.6.3. When a message is received from the TCP connection an handler function defined by the user. The prototype of the handler function is the following:

  void my_handler(openmaia::message m)
  {
    ...
  }



Subsections

2005-07-12