queryserver.cpp
来自「oracle下调用数据泵接口进行远程数据导出和导入(数据恢复)的CORBA服务」· C++ 代码 · 共 1,850 行 · 第 1/5 页
CPP
1,850 行
else { throw CORBA::INV_OBJREF(); } } catch(const STAR::ExceptionBase& _star_ex) { _STAR_handleException(_star_ex, _star_retry); } }}//// Operation declare ::IResult::nGetFieldValueByFieldName//CORBA::ShortIResult::nGetFieldValueByFieldName(const char* _star_a0, CORBA::String_out _star_a1){ bool _star_retry = true; while(true) { STAR::StubBase_var _star_stubBase = _STAR_getStub(); try { STAR::MarshalStub_ptr _star_stub = dynamic_cast<STAR::MarshalStub_ptr>(_star_stubBase.in()); if (_star_stub!=NULL) { for(;;) { STAR::Downcall_var _star_down = _star_stub->_STAR_createDowncall("nGetFieldValueByFieldName", true); try { STAR::OutputStreamImpl* _star_out = _star_stub->_STAR_prePrepareHeader(_star_down); try { _star_out -> write_string(_star_a0); } catch(const CORBA::SystemException& _star_ex) { _star_stub->_STAR_marshalEx(_star_down, _star_ex); } _star_stub->_STAR_postPrepareHeader(_star_down); _star_stub->_STAR_request(_star_down); bool _star_uex; STAR::InputStreamImpl* _star_in = _star_stub->_STAR_preRemoveHeader(_star_down, _star_uex); if(_star_uex) { _star_stub->_STAR_postRemoveHeader(_star_down); } else { CORBA::Short _star_r; try { _star_r = _star_in -> read_short(); _star_a1 = _star_in -> read_string(); } catch(const CORBA::SystemException& _star_ex) { _star_stub->_STAR_unmarshalEx(_star_down, _star_ex); } _star_stub->_STAR_postRemoveHeader(_star_down); return _star_r; } } catch(const STAR::FailureException& _star_ex) { _star_stub->_STAR_handleNetworkFailureException(_star_down, _star_ex); } } } else { throw CORBA::INV_OBJREF(); } } catch(const STAR::ExceptionBase& _star_ex) { _STAR_handleException(_star_ex, _star_retry); } }}//// Operation declare ::IResult::destroy//voidIResult::destroy(){ bool _star_retry = true; while(true) { STAR::StubBase_var _star_stubBase = _STAR_getStub(); try { STAR::MarshalStub_ptr _star_stub = dynamic_cast<STAR::MarshalStub_ptr>(_star_stubBase.in()); if (_star_stub!=NULL) { for(;;) { STAR::Downcall_var _star_down = _star_stub->_STAR_createDowncall("destroy", true); try { _star_stub->_STAR_prePrepareHeader(_star_down); _star_stub->_STAR_postPrepareHeader(_star_down); _star_stub->_STAR_request(_star_down); _star_stub->_STAR_preRemoveHeader(_star_down); _star_stub->_STAR_postRemoveHeader(_star_down); break; } catch(const STAR::FailureException& _star_ex) { _star_stub->_STAR_handleNetworkFailureException(_star_down, _star_ex); } } #if defined(__GNUC__) && defined(__OPTIMIZE__) // COMPILERFIX volatile int i = 1; i++; #endif return; } else { throw CORBA::INV_OBJREF(); } } catch(const STAR::ExceptionBase& _star_ex) { _STAR_handleException(_star_ex, _star_retry); } }}//// Operation declare ::IResult::nSelect//CORBA::ShortIResult::nSelect(const char* _star_a0, CORBA::Short _star_a1, CORBA::Short _star_a2){ bool _star_retry = true; while(true) { STAR::StubBase_var _star_stubBase = _STAR_getStub(); try { STAR::MarshalStub_ptr _star_stub = dynamic_cast<STAR::MarshalStub_ptr>(_star_stubBase.in()); if (_star_stub!=NULL) { for(;;) { STAR::Downcall_var _star_down = _star_stub->_STAR_createDowncall("nSelect", true); try { STAR::OutputStreamImpl* _star_out = _star_stub->_STAR_prePrepareHeader(_star_down); try { _star_out -> write_string(_star_a0); _star_out -> write_short(_star_a1); _star_out -> write_short(_star_a2); } catch(const CORBA::SystemException& _star_ex) { _star_stub->_STAR_marshalEx(_star_down, _star_ex); } _star_stub->_STAR_postPrepareHeader(_star_down); _star_stub->_STAR_request(_star_down); bool _star_uex; STAR::InputStreamImpl* _star_in = _star_stub->_STAR_preRemoveHeader(_star_down, _star_uex); if(_star_uex) { _star_stub->_STAR_postRemoveHeader(_star_down); } else { CORBA::Short _star_r; try { _star_r = _star_in -> read_short(); } catch(const CORBA::SystemException& _star_ex) { _star_stub->_STAR_unmarshalEx(_star_down, _star_ex); } _star_stub->_STAR_postRemoveHeader(_star_down); return _star_r; } } catch(const STAR::FailureException& _star_ex) { _star_stub->_STAR_handleNetworkFailureException(_star_down, _star_ex); } } } else { throw CORBA::INV_OBJREF(); } } catch(const STAR::ExceptionBase& _star_ex) { _STAR_handleException(_star_ex, _star_retry); } }}//// Operation declare ::IResult::nExec//CORBA::ShortIResult::nExec(const char* _star_a0, CORBA::Short _star_a1, CORBA::Short _star_a2){ bool _star_retry = true; while(true) { STAR::StubBase_var _star_stubBase = _STAR_getStub(); try { STAR::MarshalStub_ptr _star_stub = dynamic_cast<STAR::MarshalStub_ptr>(_star_stubBase.in()); if (_star_stub!=NULL) { for(;;) { STAR::Downcall_var _star_down = _star_stub->_STAR_createDowncall("nExec", true); try { STAR::OutputStreamImpl* _star_out = _star_stub->_STAR_prePrepareHeader(_star_down); try { _star_out -> write_string(_star_a0); _star_out -> write_short(_star_a1); _star_out -> write_short(_star_a2); } catch(const CORBA::SystemException& _star_ex) { _star_stub->_STAR_marshalEx(_star_down, _star_ex); } _star_stub->_STAR_postPrepareHeader(_star_down); _star_stub->_STAR_request(_star_down); bool _star_uex; STAR::InputStreamImpl* _star_in = _star_stub->_STAR_preRemoveHeader(_star_down, _star_uex); if(_star_uex) { _star_stub->_STAR_postRemoveHeader(_star_down); } else { CORBA::Short _star_r; try { _star_r = _star_in -> read_short(); } catch(const CORBA::SystemException& _star_ex) { _star_stub->_STAR_unmarshalEx(_star_down, _star_ex); } _star_stub->_STAR_postRemoveHeader(_star_down); return _star_r; } } catch(const STAR::FailureException& _star_ex) { _star_stub->_STAR_handleNetworkFailureException(_star_down, _star_ex); } } } else { throw CORBA::INV_OBJREF(); } } catch(const STAR::ExceptionBase& _star_ex) { _STAR_handleException(_star_ex, _star_retry); } }}//// Operation declare ::IResult::nCacheSelect//CORBA::ShortIResult::nCacheSelect(const char* _star_a0, CORBA::Short _star_a1, CORBA::Short _star_a2){ bool _star_retry = true; while(true) { STAR::StubBase_var _star_stubBase = _STAR_getStub(); try { STAR::MarshalStub_ptr _star_stub = dynamic_cast<STAR::MarshalStub_ptr>(_star_stubBase.in()); if (_star_stub!=NULL) { for(;;) { STAR::Downcall_var _star_down = _star_stub->_STAR_createDowncall("nCacheSelect", true); try { STAR::OutputStreamImpl* _star_out = _star_stub->_STAR_prePrepareHeader(_star_down); try { _star_out -> write_string(_star_a0); _star_out -> write_short(_star_a1); _star_out -> write_short(_star_a2); } catch(const CORBA::SystemException& _star_ex) { _star_stub->_STAR_marshalEx(_star_down, _star_ex); } _star_stub->_STAR_postPrepareHeader(_star_down); _star_stub->_STAR_request(_star_down); bool _star_uex; STAR::InputStreamImpl* _star_in = _star_stub->_STAR_preRemoveHeader(_star_down, _star_uex); if(_star_uex) { _star_stub->_STAR_postRemoveHeader(_star_down); } else { CORBA::Short _star_r; try { _star_r = _star_in -> read_short(); } catch(const CORBA::SystemException& _star_ex) { _star_stub->_STAR_unmarshalEx(_star_down, _star_ex); } _star_stub->_STAR_postRemoveHeader(_star_down); return _star_r; } } catch(const STAR::FailureException& _star_ex) { _star_stub->_STAR_handleNetworkFailureException(_star_down, _star_ex); } } } else { throw CORBA::INV_OBJREF(); } } catch(const STAR::ExceptionBase& _star_ex) { _STAR_handleException(_star_ex, _star_retry); } }}//// Operation declare ::IResult::nTopkSelect//CORBA::ShortIResult::nTopkSelect(const char* _star_a0, CORBA::Long _star_a1, CORBA::Short _star_a2){ bool _star_retry = true; while(true) { STAR::StubBase_var _star_stubBase = _STAR_getStub(); try {
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?