Borland(R) Enterprise Server VisiBroker(R) プログラマーズリファレンス
- virtual void invoke(
CORBA::ServerRequest_ptr request) = 0;
このメソッドは,オブジェクトインプリメンテーションに対するクライアントオペレーション要求が受信された際に,必ずPOAによって呼び出されます。このメソッドのインプリメンテーションには,ServerRequestオブジェクトの内容の有効化,リクエスト条件を満たすために必要な処理,およびクライアントに対する結果の送信が含まれます。ServerRequestクラスの詳細については,「23.16 ServerRequest」を参照してください。
- request
クライアントのオペレーション要求を表すServerRequestオブジェクト
- virtual CORBA::RepositoryId _primary_interface(
const PortableServer::ObjectId& oid,
PortableServer::POA_ptr poa) const;
このメソッドは,POAによってコールバックとして呼び出されます。 DynamicImplementationクラスから継承したサーバントは,このメソッドを実装する必要があります。このメソッドを直接呼び出し以外の状況で呼び出すと,予想できない結果が生じることがあります。_primary_interfaceメソッドは,入力パラメタとしてObjectId値とPOA_ptrを受け取り,そのoidに対して最下位派生インタフェースを示す有効なRepositoryIdを返します。
All Rights Reserved. Copyright (C) 2012, 2015, Hitachi, Ltd.
COPYRIGHT (C) 1992-2004 Borland Software Corporation. All rights reserved.