ping_i.h
来自「这是广泛使用的通信开源项目,对于大容量,高并发的通讯要求完全能够胜任,他广泛可用」· C头文件 代码 · 共 62 行
H
62 行
// ping_i.h,v 1.5 2003/05/06 22:57:53 bala Exp
// ============================================================================
//
// = LIBRARY
// TAO/tests/Faults
//
// = FILENAME
// ping_i.h
//
// = AUTHOR
// Carlos O'Ryan
//
// ============================================================================
#ifndef TAO_PING_I_H
#define TAO_PING_I_H
#include "pingS.h"
class PingObject_i : public POA_PingObject,
public virtual PortableServer::RefCountServantBase
{
// = TITLE
// A simple implementation of the <ping> interface
//
// = DESCRIPTION
// Used to verify that the client can tolerate server crashes with
// oneway invocations and that there are no problems with
// persistent object references after the crash.
//
public:
PingObject_i (CORBA::ORB_ptr orb,
PortableServer::POA_ptr the_poa);
// ctor
// = The PingObject interface methods
void ping (PingObject_ptr callback
ACE_ENV_ARG_DECL)
ACE_THROW_SPEC ((CORBA::SystemException));
void pong (ACE_ENV_SINGLE_ARG_DECL)
ACE_THROW_SPEC ((CORBA::SystemException));
void shutdown (ACE_ENV_SINGLE_ARG_DECL)
ACE_THROW_SPEC ((CORBA::SystemException));
PortableServer::POA_ptr _default_POA (ACE_ENV_SINGLE_ARG_DECL)
ACE_THROW_SPEC ((CORBA::SystemException));
private:
CORBA::ORB_var orb_;
// The orb
PortableServer::POA_var poa_;
// The poa
};
#if defined(__ACE_INLINE__)
#include "ping_i.i"
#endif /* __ACE_INLINE__ */
#endif /* TAO_PING_I_H */
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?