structuredeventconsumer_i.h

来自「在使用TAO的通知服务过程中作为提供者于消费者的各种例程。」· C头文件 代码 · 共 39 行

H
39
字号
#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 + =
减小字号Ctrl + -
显示快捷键?