next up previous
Next: Standard encoding of OXexpressions Up: Communication model of OpenXM Previous: Communication model of OpenXM

OX Messages

In OpenXM, each process may have a hybrid interface; it may accept and execute not only stack machine commands, but also its original command sequences. We call such a process an OX stack machine. Here we introduce OXexpression and SMexpression to express OX messages and SM objects respectively.


\begin{eqnarray*}\mbox{OXexpression}
&:& \quad
\mbox{\tt (} \mbox{\tt OX\_tag} ...
...\mbox{\tt SM\_tag} \
\{ \mbox{CMOexpression} \} \mbox{\tt )}\\
\end{eqnarray*}


A comma `,' may be used to separate elements in an expression. OX_tag is a constant which denotes an OX message tag. SM_tag is a constant which denotes an SM command tag. If a sender AAA or a receiver BBB has to be specified, 'From AAA' or 'To BBB' is written before the OXexpression.

For example the following expression means a request to push a CMO string ``Hello''.

(OX_DATA, (CMO_STRING, 5, "Hello"))

The following expression means a request to execute a local function ``hoge''.

(OX_DATA, (CMO_STRING, 5, "hoge"))
(OX_COMMAND, SM_executeStringByLocalParser)



Nobuki Takayama 平成12年4月13日