receiver_i.h
来自「这是广泛使用的通信开源项目,对于大容量,高并发的通讯要求完全能够胜任,他广泛可用」· C头文件 代码 · 共 64 行
H
64 行
/* -*- C++ -*- */
// Receiver_i.h,v 1.7 2002/01/29 20:20:41 okellogg Exp
// ===========================================================
//
// = LIBRARY
// TAO/tests/Simple/chat
//
// = FILENAME
// Receiver_i.h
//
// = DESCRIPTION
// Defines the implementation header for the Receiver interface.
//
// = AUTHOR
// Pradeep Gore <pradeep@cs.wustl.edu>
//
// ===========================================================
#ifndef RECEIVER_I_H
#define RECEIVER_I_H
#include "ReceiverS.h"
class Receiver_i : public POA_Receiver
{
// = TITLE
// Receiver object implementation
//
// = DESCRIPTION
// This class has methods that are called by the chat server.
public:
// = Initialization and termination methods.
Receiver_i (void);
// Constructor.
~Receiver_i (void);
// Destructor.
virtual void message (const char *msg
ACE_ENV_ARG_DECL)
ACE_THROW_SPEC ((
CORBA::SystemException
));
// Receives a message string.
virtual void shutdown (ACE_ENV_SINGLE_ARG_DECL)
ACE_THROW_SPEC ((
CORBA::SystemException
));
// Called when the chat server is going away. The client
// implementation should shutdown the chat client in response to
// this.
void orb (CORBA::ORB_ptr o);
// Set the ORB pointer.
private:
CORBA::ORB_var orb_;
// ORB pointer.
};
#endif /* RECEIVER_I_H */
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?