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.

混 合 使 用 非 型 别 和 型 别 对 象 封 装 器Java:prompt> vbj -DOvbroker.orb.dynamicLibs=BankWrappers.Init,UtilityObjectWrappers.Init \-DCachingAccount=client \-DCachingAccountManager=client\-DSecureAccountManager=client \-DTiming=client \-DTracing=client \Client John要 在 启 用 所 有 型 别 和 非 型 别 对 象 封 装 器 的 情 况 下 执 行 服 务 器 , 可 使 用 下 列 命 令 :C++: prompt> Server BANKaccountCacheSrvr 1 BANKmanagerCacheSrvr 1 \-BANKmanagerSecuritySrvr 1 \ -TRACEWRAPserver 1 -TIMINGWRAPserver 1Java:prompt> vbj -Dvbroker.orb.dynamicLibs=BankWrappers.Init,UtilityObjectWrappers.Init \-DCachingAccount=server \-DCachingAccountManager=server\-DSecureAccountManager=server \-DTiming=server \-DTracing=server \Server执 行 共 存 客 户 和 服 务 器下 列 命 令 将 在 启 用 所 有 型 别 封 装 器 、 仅 为 客 户 启 用 非 型 别 封 装 器 和 仅 为 服 务 器 启 用非 型 别 追 踪 封 装 器 的 情 况 下 执 行 共 存 客 户 和 服 务 器 :C++: prompt> Server -BANKaccountCacheClnt 1 -BANKaccountCacheSrvr 1 \-BANKmanagerCacheClnt 1 -BANKmanagerCacheSrvr 1 \-BANKmanagerSecurityClnt 1 \-BANKmanagerSecuritySrvr 1 \-TRACEWRAPboth 1 \-TIMINGWRAPboth 1Java: 指 定 -runCoLocated 命 令 行 选 项 允 许 在 同 一 进 程 中 执 行 客 户 和 服 务 器 。属 性-runCoLocated Client-runCoLocated TypedClient-runCoLocated UntypedClient说 明在 同 一 进 程 上 执 行 Server.java 和Client.java。在 同 一 进 程 上 执 行 Server.java 和TypedClient.java。在 同 一 进 程 上 执 行 Server.java 和UntypedClient.java。下 列 命 令 将 在 启 用 所 有 型 别 封 装 器 、 仅 为 客 户 启 用 非 型 别 计 时 封 装 器 和 仅 为 服 务 器启 用 非 型 别 追 踪 封 装 器 的 情 况 下 执 行 共 存 客 户 和 服 务 器 。仅 适 用 于 Java:prompt> vbj -Dvbroker.orb.dynamicLibs=BankWrappers.Init,UtilityObjectWrappers.Init \-DCachingAccount -DSecureAccountManager \-DTiming=client -DTracing=server \Server -runCoLocated Client22-26 <strong>VisiBroker</strong> 开 发 者 指 南

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

Saved successfully!

Ooh no, something went wrong!