ページの先頭行へ戻る
Interstage Application Server リファレンスマニュアル(API編)
FUJITSU Software

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が返されます。