identity_i.h
来自「这是广泛使用的通信开源项目,对于大容量,高并发的通讯要求完全能够胜任,他广泛可用」· C头文件 代码 · 共 59 行
H
59 行
/* -*- C++ -*- */
// Identity_i.h,v 1.3 2002/01/29 20:20:40 okellogg Exp
// ============================================================================
//
// = FILENAME
// Identity_i.h
//
// = DESCRIPTION
// Implements the interface in Identity.idl.
//
// = AUTHOR
// Marina Spivak <marina@cs.wustl.edu>
// with modifications by Bala Natarajan <bala@cs.wustl.edu>
// ============================================================================
#ifndef IDENTITY_I_H_
#define IDENTITY_I_H_
#include "IdentityS.h"
// This is to remove "inherits via dominance" warnings from MSVC.
#if defined (_MSC_VER)
# pragma warning (disable : 4250)
#endif /* _MSC_VER */
class Identity_i :
public virtual POA_Identity,
public virtual PortableServer::RefCountServantBase
{
// = TITLE
// This class implements Identity.idl interface.
public:
Identity_i (const char *name,
PortableServer::POA_ptr poa);
// Constructor - initializes the name of this object.
~Identity_i (void);
// Destructor.
virtual void get_name (CORBA::String_out name
ACE_ENV_ARG_DECL_WITH_DEFAULTS)
ACE_THROW_SPEC ((CORBA::SystemException));
// Returns the name of this object.
PortableServer::POA_ptr _default_POA (ACE_ENV_SINGLE_ARG_DECL)
ACE_THROW_SPEC ((CORBA::SystemException));
// Method for the POA that will return the persistent POA_ptr stored
// in here..
private:
CORBA::String_var name_;
// Stores the name of this object.
PortableServer::POA_var poa_;
};
#endif /* IDENTITY_I_H_ */
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?