Ignore:
Timestamp:
Jun 24, 2012, 7:42:09 PM (12 years ago)
Author:
okuma-top
Message:

totally brush up

File:
1 edited

Legend:

Unmodified
Added
Removed
  • SimpleSample/trunk/SimpleSampleTransparentRPC/SimpleSample.cdl

    r30 r34  
    99 *  |             |Body       |             |          |             |
    1010 *  +-------------+           +-------------+          +-------------+
     11 *
     12 *  * SimpleSample/SimpleSample.cdl を参照
     13 *  * この例では Transparent プラグインが指定される。以下の※を参照
     14 *  * Tranceparent プラグインのため tSysLog, rpc, tDataqueOWChannel を import
    1115 */
    12 
    1316
    1417// cygwin 用の簡易な型定義
    1518import( <cygwin_kernel.cdl> );
    16   // TECS 対応 TOPPERS/ASP ならば import( <kernel.cdl> ); でよい
     19    // TECS 対応 TOPPERS/ASP ならば import( <kernel.cdl> ); に相当する
    1720
     21// tSysLog の定義
    1822import( <tSysLog.cdl> );
     23
     24// SysLog の定義 (RPC のエラーメッセージ出力)
     25cell tSysLog SysLog {
     26};
     27
     28// RPC 関連のセルタイプの定義
    1929import( <rpc.cdl> );
     30// Transparent RPC に用いる Dataqueue OneWay チャンネルセルタイプの定義
    2031import( <tDataqueueOWChannel.cdl> );
    2132
     33// シグニチャ sSample
    2234signature sSample {
    2335        ER  sayHello( [in]int32_t times );
     
    2537};
    2638
     39// セルタイプ tSample
    2740celltype tSample {
    2841        entry sSample eEnt;
    2942};
    3043
    31 [singleton,active]
     44// セルタイプ tSimple
    3245celltype tSimple {
    3346        call sSample cCall;
     
    3548};
    3649
    37 cell tSysLog SysLog {
    38 };
    39 
     50// セル Sample
    4051cell tSample Sample {
    4152};
    4253
     54// セル Simple
    4355cell tSimple Simple {
    44         [through(RPCPlugin,"")]
     56        [through(RPCPlugin,"")]         // <<<  ※ この行を挿入
    4557                cCall = Sample.eEnt;
    4658};
    4759
     60// セル Task
    4861cell tTask Task {
    4962        cBody = Simple.eBody;
Note: See TracChangeset for help on using the changeset viewer.