Interstage Application Server アプリケーション作成ガイド (CORBAサービス編) |
目次
索引
![]() ![]() |
第12章 CORBAアプリケーションの高度な使い方 | > 12.3 複数インタフェースの1プロセスへの実装 |
IDLコンパイラがヘッダファイルにインプリメンテーションおよびインタフェースのリポジトリIDを出力します。
// IDL module mod1 { interface intf1 { ... }; }; // *.h #define _IMPL_mod1_intf1 "IDL:mod1/intf1:1.0" #define _INTF_mod1_intf1 "IDL:mod1/intf1:1.0"
OD_impl_instコマンドで上記インプリメンテーションリポジトリIDで登録を行います。
OD_impl_inst -a -r IDL:mod1/intf1:1.0 ...
サーバプログラムで上記インプリメンテーションリポジトリIDの活性化を行います。
impl = FJ_ImplementationRep_lookup_id( impl_rep, _IMPL_mod1_intf1, &env ); CORBA_BOA_impl_is_ready(boa, impl, &env );
目次
索引
![]() ![]() |