session_factory.h
来自「这是广泛使用的通信开源项目,对于大容量,高并发的通讯要求完全能够胜任,他广泛可用」· C头文件 代码 · 共 41 行
H
41 行
//
// Session_Factory.h,v 1.2 2003/07/21 23:51:33 dhinton Exp
//
#ifndef SESSION_FACTORY_H
#define SESSION_FACTORY_H
#include /**/ "ace/pre.h"
#include "TestS.h"
/// Implement the Test::Session_Factory interface
class Session_Factory
: public virtual POA_Test::Session_Factory
, public virtual PortableServer::RefCountServantBase
{
public:
/// Constructor
Session_Factory (CORBA::ORB_ptr orb,
PortableServer::POA_ptr poa);
// = The skeleton methods
virtual Test::Session_ptr create_new_session (Test::Callback_ptr cb
ACE_ENV_ARG_DECL)
ACE_THROW_SPEC ((CORBA::SystemException));
virtual void shutdown (ACE_ENV_SINGLE_ARG_DECL)
ACE_THROW_SPEC ((CORBA::SystemException));
PortableServer::POA_ptr _default_POA (ACE_ENV_SINGLE_ARG_DECL_NOT_USED)
ACE_THROW_SPEC ((CORBA::SystemException));
private:
/// Use an ORB reference to shutdown the application.
CORBA::ORB_var orb_;
PortableServer::POA_var poa_;
};
#include /**/ "ace/post.h"
#endif /* SESSION_FACTORY_H */
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?