12.07.2015 Views

VisiBroker Edition

VisiBroker Edition

VisiBroker Edition

SHOW MORE
SHOW LESS
  • No tags were found...

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

创 建 与 初 始 化 请 求}public abstract org.omg.CORBA.NamedValue result();public abstract org.omg.CORBA.Environment env();public abstract org.omg.CORBA.ExceptionList exceptions();public abstract org.omg.CORBA.ContextList contexts();public abstract void ctx(org.omg.CORBA.Context ctx);public abstract org.omg.CORBA.Context ctx();public abstract org.omg.CORBA.Any add_in_arg();public abstract org.omg.CORBA.Any add_named_in_arg(public abstract org.omg.CORBA.Any add_inout_arg();public abstract org.omg.CORBA.Any add_named_inout_arg(public abstract org.omg.CORBA.Any add_out_arg();public abstract org.omg.CORBA.Any add_named_out_arg(public abstract void set_return_type(public abstract org.omg.CORBA.Any return_value();public abstract void invoke();public abstract void send_oneway();public abstract void send_deferred();public abstract void get_response();public abstract boolean poll_response();创 建 和 初 始 化 DII Request 的 方 法一 旦 您 发 送 一 个 限 制 到 一 个 对 象 并 得 到 一 个 对 象 引 用 , 您 就 可 以 使 用 创 建 Request对 象 的 两 个 方 法 之 一 。 以 下 的 代 码 示 例 说 明 由 CORBA::Object 类 提 供 的 方 法 。C++: class Object {. . .CORBA::Request_ptr _request(Identifier operation);CORBA::Status _create_request(CORBA::Context_ptr ctx,const char *operation,CORBA::NVList_ptr arg_list,CORBA::NamedValue_ptr result,CORBA::Request_ptr request,CORBA::Flags req_flags);CORBA::Status _create_request(CORBA::Context_ptr ctx,const char *operation,CORBA::NVList_ptr arg_list,CORBA::NamedValue_ptr result,CORBA::ExceptionList_ptr eList,CORBA::ContextList_ptr ctxList,CORBA::Request_out request,CORBA::Flags req_flags);. . .};Java:以 下 的 代 码 示 例 说 明 了 由 org.omg.CORBA.Object 接 口 提 供 的 方 法 。package org.omg.CORBA;public interface Object {. . .public org.omg.CORBA.Request _request(java.lang.String operation;使 用 动 态 调 用 接 口 18-7

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!