22.16.2 PortableServer::ServantBaseのメソッド
-
このメソッドは該当するサーバントのリファレンスカウントを追加します。デフォルトインプリメンテーションは何もしないので,このクラスから派生したクラスのリファレンスカウント機能を提供するには,このメソッドをオーバーライドしてください。
-
PortableServer::POA_ptr _default_POA();
このメソッドは,デフォルトVisiBroker ORBに対して,カレントプロセスのデフォルトVisiBroker ORBの,ルートPOAへのオブジェクトリファレンスを返します。これは,ORB::resolve_initial_references("RootPOA")の呼び出しと同じ戻り値です。必要に応じて,PortableServer::ServantBaseから派生したクラスにこのメソッドをオーバーライドして,独自に選択したPOAを返せます。
-
CORBA::InterfaceDef_ptr _get_interface();
このメソッドは該当するオブジェクトのインタフェース定義を指すポインタを返します。詳細については,「24.19.2 InterfaceDefのメソッド」を参照してください。
-
const char *rep_id);
該当するサーバントがリポジトリIDに対応するインタフェースを実装する場合,このメソッドはTRUEを返します。そうでない場合はFALSEを返します。
-
rep_id
チェックするリポジトリID
-
-
このメソッドは該当するサーバントのリファレンスカウントを削除します。デフォルトインプリメンテーションは何もしないので,このクラスから派生したクラスのリファレンスカウント機能を提供するには,このメソッドをオーバーライドしてください。