version 1.1, 2000/01/02 07:32:12 |
version 1.2, 2000/01/03 04:27:53 |
|
|
%%$OpenXM$ |
%%$OpenXM: OpenXM/doc/issac2000/ox-messages.tex,v 1.1 2000/01/02 07:32:12 takayama Exp $ |
|
|
\section{OX messages} (Ohara) |
\section{OX messages} (Ohara) |
|
|
Line 34 We have the following main tags for the OX messages. |
|
Line 34 We have the following main tags for the OX messages. |
|
|
|
New OX tags may be added. |
New OX tags may be added. |
The new tag should be classified into DATA or COMMAND. |
The new tag should be classified into DATA or COMMAND. |
For example, \verb+ OX_DATA_ASIR_BINARY + was added a few month ago |
For example, \verb+ OX_DATA_ASIR_LOCAL_BINARY + was added a few month ago |
to send internal serialized objects of asir via OpenXM protocol. |
to send internal serialized objects of asir via the OpenXM protocol. |
This is a tag classifed to DATA. |
This is a tag classifed to DATA. |
See the home page of OpenXM to add a new tag. |
See the home page of OpenXM to add a new tag. |
|
|
Line 46 In OpenXM, a distributed computation is done as follow |
|
Line 46 In OpenXM, a distributed computation is done as follow |
|
\item The client requests to send data to the server. |
\item The client requests to send data to the server. |
\item The server sends the data to the client and the client gets the data. |
\item The server sends the data to the client and the client gets the data. |
\end{enumerate} |
\end{enumerate} |
The server is a stack machine. |
The server is a stackmachine. |
That is OX data message sent by the client |
That is {\it OX data} message sent by the client |
are pushed to the stack of the server. |
are pushed to the stack of the server. |
If the server gets a OX command message, then the data are |
If the server gets an {\it OX command} message, then the data are |
popped form the stack and they are used as arguments of a function call. |
popped form the stack and they are used as arguments of a function call. |
For example, the asir command |
For example, the asir command |
\verb+ ox_push_cmo(P,1) + |
\verb+ ox_push_cmo(P,1) + (push integer $1$ to the server P) |
sends an OX data message |
sends an OX data message |
(OX\_DATA,(CMO\_ZZ,1)) to the server $P$. |
(OX\_DATA,(CMO\_ZZ,1)) to the server $P$. |
Here, |
Here, |
OX\_DATA stands for OX\_DATA header and |
OX\_DATA stands for OX\_DATA header and |
(CMO\_ZZ,1) is a body standing for $1$ expressed in CMO data encoding format. |
(CMO\_ZZ,1) is a body standing for $1$ expressed |
|
in the CMO data encoding format. |
|
|
|
|
|
|