Borland(R) Enterprise Server VisiBroker(R) プログラマーズリファレンス

[目次][索引][前へ][次へ]

10.2 ClientRequestInfo

 
public interface ClientRequestInfo extends RequestInfo,
    org.omg.CORBA.LocalInterface,
    org.omg.PortableInterceptor.ClientRequestInfoOperations,
    org.omg.CORBA.portable.IDLEntity
 

このインタフェースは,RequestInfoから派生したインタフェースで,クライアント側のインタセプトポイントに渡されます。ClientRequestInfoのメソッドは,一部のインタセプトポイントでは有効ではありません。

次の表に,属性またはメソッドの有効性を示します。無効の属性またはメソッドにアクセスすると,標準マイナーコード14のBAD_INV_ORDER例外が発生します。

表10-1 ClientRequestInfoの有効性(Java)

  send_request send_poll receive_reply receive_exception receive_other
request_id ○ ○ ○ ○ ○
operation ○ ○ ○ ○ ○
arguments ○※1 × ○ × ×
exceptions ○ × ○ ○ ○
contexts ○ × ○ ○ ○
operation_context ○ × ○ ○ ○
result × × ○ × ×
response_expected ○ ○ ○ ○ ○
sync_scope ○ × ○ ○ ○
reply_status × × ○ ○ ○
forward_reference × × × × ○※2
get_slot ○ ○ ○ ○ ○
get_request_service_context ○ × ○ ○ ○
get_reply_service_context × × ○ ○ ○
target ○ ○ ○ ○ ○
effective_target ○ ○ ○ ○ ○
effective_profile ○ ○ ○ ○ ○
received_exception × × × ○ ×
received_exception_id × × × ○ ×
get_effective_component ○ × ○ ○ ○
get_effective_components ○ × ○ ○ ○
get_request_policy ○ × ○ ○ ○
add_request_service_context ○ × × × ×

(凡例)
○:有効,×:無効

注※1
ClientRequestInfoがsend_request()に渡される場合,in,inout,またはoutの各パラメタのリストにエントリがありますが,使用できるのはinoutパラメタとoutパラメタだけです。

注※2
reply_status()がLOCATION_FORWARDを返さない場合,この属性にアクセスすると,標準マイナーコード14のBAD_INV_ORDER例外が発生します。
<この節の構成>
10.2.1 import文
10.2.2 ClientRequestInfoのメソッド