12.07.2015 Views

VisiBroker Edition

VisiBroker Edition

VisiBroker Edition

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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

扩 展 DynamicImplementation 类// 确 保 操 作 名 称 是 正 确 的if (strcmp(request->operation(), "balance") != 0) {throw CORBA::BAD_OPERATION();}// 找 出 余 额 并 填 写 结 果CORBA::NVList_ptr params = new CORBA::NVList(0);request->arguments(params);CORBA::Float balance;if (!_registry.get(name, balance))throw CORBA::OBJECT_NOT_EXIST();CORBA::Any result;result

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

Saved successfully!

Ooh no, something went wrong!