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

2.7.3 CORBA::Context::create_child()

名前

  CORBA::Context::create_child

形式

  #include <orb_cplus.h>
  CORBA::Status  CORBA::Context::create_child(
        const char     *ctx_name,
        Context _ptr&  child_ctx,
        CORBA::Environment&  env );

機能説明

  この関数は、ctx_nameで指定した名前のContextオブジェクトを生成します。

パラメタ

  ctx_name

  生成するContextオブジェクトの名前。

  child_ctx

  Contextオブジェクトを格納するポインタ。

  env

  例外情報が格納される構造体。

復帰値

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