receiver_i.cpp
来自「这是广泛使用的通信开源项目,对于大容量,高并发的通讯要求完全能够胜任,他广泛可用」· C++ 代码 · 共 57 行
CPP
57 行
// Receiver_i.cpp,v 1.4 2002/01/29 20:20:41 okellogg Exp
// ===========================================================
//
// = LIBRARY
// TAO/tests/Simple/chat
//
// = FILENAME
// Receiver_i.cpp
//
// = DESCRIPTION
// Implements the Receiver_i class, which is used by the chat client.
//
// = AUTHOR
// Pradeep Gore <pradeep@cs.wustl.edu>
//
// ===========================================================
#include "Receiver_i.h"
Receiver_i::Receiver_i (void)
: orb_ (0)
{
}
Receiver_i::~Receiver_i (void)
{
}
void
Receiver_i::message (const char *msg
ACE_ENV_ARG_DECL_NOT_USED)
ACE_THROW_SPEC ((
CORBA::SystemException
))
{
ACE_DEBUG ((LM_DEBUG,
": %s\n",
msg));
}
void
Receiver_i::shutdown (ACE_ENV_SINGLE_ARG_DECL_NOT_USED)
ACE_THROW_SPEC ((
CORBA::SystemException
))
{
// Instruct the ORB to shutdown.
this->orb_->shutdown ();
}
void
Receiver_i::orb (CORBA::ORB_ptr o)
{
this->orb_ = CORBA::ORB::_duplicate (o);
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?