notify_logging_server.cpp
来自「这是广泛使用的通信开源项目,对于大容量,高并发的通讯要求完全能够胜任,他广泛可用」· C++ 代码 · 共 41 行
CPP
41 行
//Notify_Logging_Server.cpp,v 1.6 2003/11/01 11:15:09 dhinton Exp
#include "Notify_Logging_Service.h"
#include "ace/OS_main.h"
ACE_RCSID (Notify_Logging_Service,
Notify_Logging_Server,
"Notify_Logging_Server.cpp,v 1.6 2003/11/01 11:15:09 dhinton Exp")
// Driver function for the TAO Notify Service.
int
ACE_TMAIN (int argc, ACE_TCHAR *argv[])
{
Notify_Logging_Service notify_logging_service;
ACE_DECLARE_NEW_CORBA_ENV;
if (notify_logging_service.init (argc, argv ACE_ENV_ARG_PARAMETER) == -1)
ACE_ERROR_RETURN ((LM_ERROR,
"Failed to start the Notification Logging Service.\n"),
1);
ACE_TRY
{
notify_logging_service.run ();
notify_logging_service.shutdown (ACE_ENV_SINGLE_ARG_PARAMETER);
ACE_TRY_CHECK;
}
ACE_CATCHANY
{
notify_logging_service.shutdown (ACE_ENV_SINGLE_ARG_PARAMETER);
ACE_PRINT_EXCEPTION (ACE_ANY_EXCEPTION,
"Failed to start the Notification Logging Service\n");
return 1;
}
ACE_ENDTRY;
ACE_CHECK_RETURN (1);
return 0;
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?