servant_activator.h
来自「这是广泛使用的通信开源项目,对于大容量,高并发的通讯要求完全能够胜任,他广泛可用」· C头文件 代码 · 共 50 行
H
50 行
// Servant_Activator.h,v 1.8 2003/10/28 18:34:41 bala Exp
// ================================================================
//
// = LIBRARY
// TAO/tests/POA/On_Demand_Activation/Servant_Activator
//
// = FILENAME
// Servant_Activator.h
//
// = DESCRIPTION
// Defines a ServantActivator class.
//
// = AUTHOR
// Irfan Pyarali
//
// ================================================================
#include "tao/PortableServer/PortableServer.h"
#include "tao/ORB.h"
class ServantActivator : public PortableServer::ServantActivator
{
public:
ServantActivator (CORBA::ORB_ptr orb);
PortableServer::Servant incarnate (const PortableServer::ObjectId &oid,
PortableServer::POA_ptr poa
ACE_ENV_ARG_DECL)
ACE_THROW_SPEC ((CORBA::SystemException,
PortableServer::ForwardRequest));
// This method is invoked by a POA with USE_SERVANT_MANAGER and
// RETAIN policies, whenever it receives a request for a test object
// that is not currently active.
void etherealize (const PortableServer::ObjectId &oid,
PortableServer::POA_ptr adapter,
PortableServer::Servant servant,
CORBA::Boolean cleanup_in_progress,
CORBA::Boolean remaining_activations
ACE_ENV_ARG_DECL)
ACE_THROW_SPEC ((CORBA::SystemException));
// This method is invoked whenever a test object is deactivated.
private:
CORBA::ORB_var orb_;
// A reference to the ORB.
};
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?