Interstage Application Server リファレンスマニュアル(API編)
目次 索引 前ページ次ページ

第1章 C言語インタフェース> 1.5 Contextインタフェース

1.5.1 CORBA_Context_create_child()

名前

 CORBA_Context_create_child

形式

 #include <orb.h>
 CORBA_ORBStatus  CORBA_Context_create_child(
        CORBA_Object  ctx,
        CORBA_Identifier  ctx_name,
        CORBA_Context  *child_ctx,
        CORBA_Environment  *env );
 typedef  CORBA_string  CORBA_Identifier;
 typedef  CORBA_Object  CORBA_Context;

機能説明

 この関数は、ctxで指定したオブジェクトに関連付いたContextオブジェクトを生成します。ここで生成したContextオブジェクトは、CORBA_Context_delete()を使用して解放します。

パラメタ

 ctx
関連付けるオブジェクトリファレンス。
 ctx_name
生成するContextオブジェクトの名前。
 child_ctx
Contextオブジェクトを格納するポインタ。
 env
例外情報が格納される構造体。

復帰値

 正常終了した場合は、CORBA_OKが返され、child_ctxにContextオブジェクトのオブジェクトリファレンスが設定されます。
 異常終了した場合は、CORBA_FAILEDが返されます。


目次 索引 前ページ次ページ

All Rights Reserved, Copyright(C) 富士通株式会社 2005