=================================================================== RCS file: /home/cvs/OpenXM/doc/OpenXM-specs/communication-model.tex,v retrieving revision 1.6 retrieving revision 1.11 diff -u -p -r1.6 -r1.11 --- OpenXM/doc/OpenXM-specs/communication-model.tex 2000/01/24 02:48:24 1.6 +++ OpenXM/doc/OpenXM-specs/communication-model.tex 2016/08/28 02:43:13 1.11 @@ -1,4 +1,4 @@ -%% $OpenXM: OpenXM/doc/OpenXM-specs/communication-model.tex,v 1.5 2000/01/21 08:44:54 noro Exp $ +%% $OpenXM: OpenXM/doc/OpenXM-specs/communication-model.tex,v 1.10 2003/05/14 03:34:23 takayama Exp $ //&jp \section{ OpenXM の通信モデル} //&eg \section{ Communication model of OpenXM} @@ -13,6 +13,7 @@ \item Library として直接リンクして通信する. \item TCP/IP ソケットの利用. \item Remote Procedure call の利用. +\item JAVA RMI. \item マルチスレッドの利用. \item PVM ライブラリの利用. \item MPI ライブラリの利用. @@ -32,6 +33,7 @@ mathematical processes. \item Linking as a subroutine library. \item TCP/IP streams. \item Remote Procedure call. +\item JAVA RMI. \item Multi-thread. \item PVM library. \item MPI library. @@ -114,6 +116,8 @@ Here we introduce OXexpression and SMexpression to express OX messages and SM objects respectively. */ +//&jp \subsubsection{ OX メッセージの表現法 (Lisp 風) } +//&eg \subsubsection{ Expressions of OX messages (Lisp like) } /*&C \begin{eqnarray*} \mbox{OXexpression} @@ -164,7 +168,7 @@ a local function ``hoge''. /*&C \begin{center} -(OX\_DATA, (CMO\_STRING, 5, "hoge")) +(OX\_DATA, (CMO\_STRING, 4, "hoge")) \end{center} \begin{center} (OX\_COMMAND, SM\_executeStringByLocalParser) @@ -172,10 +176,46 @@ a local function ``hoge''. */ /*&jp +標準エンコード法では, それぞれのタグは 32 bit (4 bytes) の +ネットワークバイトオーダでの整数として表現される. +*/ +/*&eg In our standard encoding method, each tag is expressed as -a 32 bit (4 byte) integer with the network byte order. +a 32 bit (4 bytes) integer with the network byte order. */ +/*&C + +*/ + +//&jp \subsubsection{ OX メッセージの表現 (XML) } +//&eg \subsubsection{ Expression of OX messages (XML) } + +/*&jp +OX メッセージは XML で表現することも可能である. 次に例を示す. +*/ +/*&eg +OX messages can be expressed by XML. The following is an example. +*/ +/*&C +\begin{verbatim} + + + 0 + + 5 + "Hello" + + + + + 1 + + + +\end{verbatim} +*/ + //&jp \subsection{OXexpression の 標準 encoding と TCP/IP ソケットによる実装法} //&eg \subsection{Standard encoding of OXexpressions and an implementation by TCP/IP sockets} /*&jp @@ -263,6 +303,7 @@ Thus OX messages are represented as follows. #define OX_DATA_MP 525 #define OX_SYNC_BALL 515 +#define OX_NOTIFY 516 \end{verbatim} */ @@ -383,6 +424,7 @@ values are as follows. #define SM_getsp 275 #define SM_dupErrors 276 +#define SM_nop 300 /* do nothing */ #define SM_control_kill 1024 #define SM_control_reset_connection 1030