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.

实 例 程 序InterfaceDefHelper.narrow(account._get_interface_def());// 检 查 这 个 * 特 别 * 实 现 是 否 支 持 “describe” 操 作if (accountDef.lookup("describe") != null) {// 这 里 我 们 不 可 以 用 静 态 框 架 的 方 法 , 因 为 在 其// 创 建 时 , 该 方 法 在 IDL 的 帐 户 接 口 版 本// 中 尚 不 存 在 。 使 用 的 是 DII。Request request = account._request("describe");request.result().value().insert_string("");request.invoke();return request.result().value().extract_string();} else {return "";}}}17-10 <strong>VisiBroker</strong> 开 发 者 指 南

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

Saved successfully!

Ooh no, something went wrong!