⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 structuredeventconsumer_i.h

📁 在使用TAO的通知服务过程中作为提供者于消费者的各种例程。
💻 H
字号:
#ifndef _EVENTCONSUMER_I_H_
#define _EVENTCONSUMER_I_H_

#include <orbsvcs/CosNotifyChannelAdminS.h>

class StructuredEventConsumer_i : 
  public virtual POA_CosNotifyComm::StructuredPushConsumer
{
public:
    StructuredEventConsumer_i(CORBA::ORB_ptr orb);

    virtual void push_structured_event(
      const CosNotification::StructuredEvent &notification
      )
      throw (
        CORBA::SystemException,
        CosEventComm::Disconnected
       );  

   virtual void offer_change (
        const CosNotification::EventTypeSeq & added,
        const CosNotification::EventTypeSeq & removed
      )
      throw (
        CORBA::SystemException,
        CosNotifyComm::InvalidEventType
      );     

   virtual void disconnect_structured_push_consumer()
      throw (
        CORBA::SystemException
      );           

private:
    CORBA::ORB_var orb_;
};

#endif 

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -