JavaTM 2 Platform
Standard Ed. 6

類別 org.omg.CORBA.Request
的使用

使用 Request 的軟體套件
org.omg.CORBA 提供 OMG CORBA API 到 JavaTM 程式語言的映射,包括 ORB 類別,如果已實作該類別,則開發人員可以使用此類別作為全功能物件請求代理(Object Request Broker,ORB)。 
org.omg.CORBA.portable 提供可移植性層,即可以使一個供應商產生的程式碼運行在另一個供應商 ORB 上的 ORB API 集合。 
 

org.omg.CORBARequest 的使用
 

返回 Requestorg.omg.CORBA 中的方法
 Request LocalObject._create_request(Context ctx, String operation, NVList arg_list, NamedValue result)
          拋出 org.omg.CORBA.NO_IMPLEMENT 異常,並帶有訊息 "This is a locally constrained object"。
 Request Object._create_request(Context ctx, String operation, NVList arg_list, NamedValue result)
          創建一個 Request 實例,並使用給定上下文、方法名稱、參數列表和用於該方法返回值的容器進行初始化。
 Request LocalObject._create_request(Context ctx, String operation, NVList arg_list, NamedValue result, ExceptionList exceptions, ContextList contexts)
          拋出 org.omg.CORBA.NO_IMPLEMENT 異常,並帶有訊息 "This is a locally constrained object"。
 Request Object._create_request(Context ctx, String operation, NVList arg_list, NamedValue result, ExceptionList exclist, ContextList ctxlist)
          創建一個 Request 實例,並使用給定上下文、方法名稱、參數列表、用於該方法返回值的容器、可能的異常列表以及需要被解析的上下文字元串所組成的列表進行初始化。
 Request LocalObject._request(String operation)
          拋出 org.omg.CORBA.NO_IMPLEMENT 異常,並帶有訊息 "This is a locally constrained object"。
 Request Object._request(String operation)
          創建一個在動態調用介面 (Dynamic Invocation Interface) 中使用的 Request 實例。
abstract  Request ORB.get_next_response()
          獲取已接收到回應的下一個 Request 實例。
 

參數型別為 Requestorg.omg.CORBA 中的方法
abstract  void ORB.send_multiple_requests_deferred(Request[] req)
          非同步發送多個動態 (DII) 請求。
abstract  void ORB.send_multiple_requests_oneway(Request[] req)
          非同步發送多個動態 (DII) 請求,並且不期望任何回應。
 

org.omg.CORBA.portableRequest 的使用
 

返回 Requestorg.omg.CORBA.portable 中的方法
 Request ObjectImpl._create_request(Context ctx, String operation, NVList arg_list, NamedValue result)
          創建一個 Request 物件,使其包含給定上下文、方法、參數列表,以及用於結果的容器。
 Request ObjectImpl._create_request(Context ctx, String operation, NVList arg_list, NamedValue result, ExceptionList exceptions, ContextList contexts)
          創建一個 Request 物件,使其包含給定的上下文、方法、參數列表、結果容器、異常,以及解析上下文字元串時將使用的屬性名列表。
 Request ObjectImpl._request(String operation)
          創建一個 Request 物件,使其包含可用於動態調用介面 (Dynamic Invocation Interface) 的給定方法。
abstract  Request Delegate.create_request(Object obj, Context ctx, String operation, NVList arg_list, NamedValue result)
          創建在動態調用介面中使用的 Request 實例。
abstract  Request Delegate.create_request(Object obj, Context ctx, String operation, NVList arg_list, NamedValue result, ExceptionList exclist, ContextList ctxlist)
          創建在動態調用介面中使用的 Request 實例。
abstract  Request Delegate.request(Object obj, String operation)
          創建在動態調用介面 (Dynamic Invocation Interface) 中使用的 Request 實例。
 


JavaTM 2 Platform
Standard Ed. 6

提交錯誤或意見

版權所有 2008 Sun Microsystems, Inc. 保留所有權利。請遵守GNU General Public License, version 2 only