peer.h
来自「这是广泛使用的通信开源项目,对于大容量,高并发的通讯要求完全能够胜任,他广泛可用」· C头文件 代码 · 共 82 行
H
82 行
/* -*- C++ -*- */
/**
* @file Peer.h
*
* Peer.h,v 1.5 2003/08/03 23:44:11 bala Exp
*
* @author Pradeep Gore <pradeep@oomworks.com>
*
*
*/
#ifndef TAO_Notify_Tests_PEER_H
#define TAO_Notify_Tests_PEER_H
#include /**/ "ace/pre.h"
#include "notify_test_export.h"
#if !defined (ACE_LACKS_PRAGMA_ONCE)
# pragma once
#endif /* ACE_LACKS_PRAGMA_ONCE */
#include "orbsvcs/orbsvcs/CosNotifyChannelAdminC.h"
#include "tao/PortableServer/PortableServer.h"
#include "ace/SString.h"
class ACE_Arg_Shifter;
/**
* @class TAO_Notify_Tests_Peer
*
* @brief
*
*/
class TAO_NOTIFY_TEST_Export TAO_Notify_Tests_Peer
{
public:
/// Constuctor
TAO_Notify_Tests_Peer (void);
/// Destructor
virtual ~TAO_Notify_Tests_Peer ();
/// Init
void init (PortableServer::POA_ptr poa ACE_ENV_ARG_DECL_NOT_USED);
/// Init this object.
virtual int init_state (ACE_Arg_Shifter& arg_shifter);
/// Set POA
void set_poa (PortableServer::POA_ptr poa ACE_ENV_ARG_DECL);
// Accessor to set/get our name.
void set_name (ACE_CString& name);
const ACE_CString& get_name (void);
protected:
/// My name.
ACE_CString name_;
/// Proxy Name.
ACE_CString proxy_name_;
ACE_CString admin_name_;
ACE_CString poa_name_;
CosNotifyChannelAdmin::InterFilterGroupOperator ifgop_;
CosNotification::QoSProperties qos_;
/// The default POA.
PortableServer::POA_var default_POA_;
};
#if defined (__ACE_INLINE__)
#include "Peer.inl"
#endif /* __ACE_INLINE__ */
#include /**/ "ace/post.h"
#endif /* TAO_Notify_Tests_PEER_H */
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?