test_i.cpp

来自「这是广泛使用的通信开源项目,对于大容量,高并发的通讯要求完全能够胜任,他广泛可用」· C++ 代码 · 共 36 行

CPP
36
字号
// test_i.cpp,v 1.8 2001/08/12 13:46:38 bala Exp

#include "test_i.h"

#if !defined(__ACE_INLINE__)
#include "test_i.i"
#endif /* __ACE_INLINE__ */

ACE_RCSID(Native_Exceptions, test_i, "test_i.cpp,v 1.8 2001/08/12 13:46:38 bala Exp")

CORBA::Long
Simple_Server_i::test_method (CORBA::Long x)
  ACE_THROW_SPEC ((CORBA::SystemException))
{
  return x;
}

CORBA::Long
Simple_Server_i::test_raise (CORBA::Long x)
  ACE_THROW_SPEC ((Simple_Server::Failure))
{
  ACE_UNUSED_ARG (x);
  throw Simple_Server::Failure ();

# if defined (WIN32) || defined (__HP_aCC)
  return x;
#endif /*WIN32 & HP */
}

void
Simple_Server_i::shutdown (void)
  ACE_THROW_SPEC ((CORBA::SystemException))
{
  this->orb_->shutdown ();
}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?