test_i.cpp

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

CPP
39
字号
// test_i.cpp,v 1.1 2002/12/23 22:01:33 boris Exp

#include "test_i.h"

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

ACE_RCSID(Send_File, test_i, "test_i.cpp,v 1.1 2002/12/23 22:01:33 boris Exp")

void
Simple_Server_i::send_line (const char *
                            ACE_ENV_ARG_DECL_NOT_USED)
    ACE_THROW_SPEC ((CORBA::SystemException))
{

  /*
  static unsigned long count = 0;

  count++;

  if (count == 1)
  {
    ACE_DEBUG ((LM_DEBUG,
                "Executed 128 requests. Now it's time to crash!\n"));
    ACE_OS::abort ();
  }
  */

  // ACE_DEBUG ((LM_DEBUG, "%s\n", line));
}

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

⌨️ 快捷键说明

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