📄 notify_structured_push_consumer.h
字号:
/* -*- C++ -*- */
// Notify_Structured_Push_Consumer.h,v 1.4 2003/07/06 21:41:58 pradeep Exp
// ==========================================================================
//
// = LIBRARY
// TAO/orbsvcs/tests/Notify/Discarding
//
// = FILENAME
// Notify_Structured_Push_Consumer.h
//
// = DESCRIPTION
// A structured push consumer implementation.
//
// = AUTHOR
// Chad Elliott <elliott_c@ociweb.com>
//
// ==========================================================================
#ifndef TAO_NOTIFY_STRUCTURED_PUSH_CONSUMER_H
#define TAO_NOTIFY_STRUCTURED_PUSH_CONSUMER_H
#include "Notify_StructuredPushConsumer.h"
class Notify_Structured_Push_Consumer : public TAO_Notify_Tests_StructuredPushConsumer
{
public:
Notify_Structured_Push_Consumer (
const char* name,
unsigned int expected,
CORBA::Boolean& done);
~Notify_Structured_Push_Consumer ();
void _connect (CosNotifyChannelAdmin::ConsumerAdmin_ptr consumer_admin
ACE_ENV_ARG_DECL)
ACE_THROW_SPEC ((CORBA::SystemException));
private:
void push_structured_event(const CosNotification::StructuredEvent&
ACE_ENV_ARG_DECL)
ACE_THROW_SPEC ((CORBA::SystemException));
ACE_CString name_;
unsigned int expected_;
unsigned int count_;
CORBA::Boolean& done_;
};
#endif /* TAO_NOTIFY_STRUCTURED_PUSH_CONSUMER_H */
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -