version 1.6, 2000/01/24 02:48:24 |
version 1.8, 2000/09/09 21:59:13 |
|
|
%% $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.7 2000/09/09 16:32:26 takayama Exp $ |
//&jp \section{ OpenXM の通信モデル} |
//&jp \section{ OpenXM の通信モデル} |
//&eg \section{ Communication model of OpenXM} |
//&eg \section{ Communication model of OpenXM} |
|
|
|
|
\item Library として直接リンクして通信する. |
\item Library として直接リンクして通信する. |
\item TCP/IP ソケットの利用. |
\item TCP/IP ソケットの利用. |
\item Remote Procedure call の利用. |
\item Remote Procedure call の利用. |
|
\item JAVA RMI. |
\item マルチスレッドの利用. |
\item マルチスレッドの利用. |
\item PVM ライブラリの利用. |
\item PVM ライブラリの利用. |
\item MPI ライブラリの利用. |
\item MPI ライブラリの利用. |
Line 32 mathematical processes. |
|
Line 33 mathematical processes. |
|
\item Linking as a subroutine library. |
\item Linking as a subroutine library. |
\item TCP/IP streams. |
\item TCP/IP streams. |
\item Remote Procedure call. |
\item Remote Procedure call. |
|
\item JAVA RMI. |
\item Multi-thread. |
\item Multi-thread. |
\item PVM library. |
\item PVM library. |
\item MPI library. |
\item MPI library. |
Line 114 Here we introduce OXexpression and SMexpression |
|
Line 116 Here we introduce OXexpression and SMexpression |
|
to express OX messages and SM objects respectively. |
to express OX messages and SM objects respectively. |
*/ |
*/ |
|
|
|
//&jp \subsubsection{ OX メッセージの表現法 (Lisp 風) } |
|
//&eg \subsubsection{ Expressions of OX messages (Lisp like) } |
/*&C |
/*&C |
\begin{eqnarray*} |
\begin{eqnarray*} |
\mbox{OXexpression} |
\mbox{OXexpression} |
Line 172 a local function ``hoge''. |
|
Line 176 a local function ``hoge''. |
|
*/ |
*/ |
|
|
/*&jp |
/*&jp |
|
標準エンコード法では, それぞれのタグは 32 bit (4 bytes) の |
|
ネットワークバイトオーダでの整数として表現される. |
|
*/ |
|
/*&eg |
In our standard encoding method, each tag is expressed as |
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} |
|
<ox> |
|
<ox_data> |
|
<ox_serial> <int32> 0 </int32> </ox_serial> |
|
<cmo> <cmo_string> |
|
<int32 for="length"> 5 </int32> |
|
<string> "Hello" </string> |
|
</cmo_string> |
|
</cmo> |
|
</ox_data> |
|
<ox_command> |
|
<ox_serial> <int32> 1 </int32> </ox_serial> |
|
<sm_popCMO/> |
|
</ox_command> |
|
</ox> |
|
\end{verbatim} |
*/ |
*/ |
|
|
//&jp \subsection{OXexpression の 標準 encoding と TCP/IP ソケットによる実装法} |
//&jp \subsection{OXexpression の 標準 encoding と TCP/IP ソケットによる実装法} |