📄 ftec_proxysupplier.h
字号:
// -*- C++ -*-
//=============================================================================
/**
* @file FTEC_ProxySupplier.h
*
* FTEC_ProxySupplier.h,v 1.5 2003/11/24 04:07:41 huangming Exp
*
* @author Huang-Ming Huang <hh1@cse.wustl.edu>
*/
//=============================================================================
#ifndef TAO_FTEC_PROXYSUPPLIER_H
#define TAO_FTEC_PROXYSUPPLIER_H
#include "orbsvcs/Event/EC_Default_ProxySupplier.h"
#include "ace/SString.h"
#include "orbsvcs/FtRtecEventChannelAdminC.h"
#include "Request_Context_Repository.h"
#if !defined (ACE_LACKS_PRAGMA_ONCE)
# pragma once
#endif /* ACE_LACKS_PRAGMA_ONCE */
class TAO_FTEC_ProxyPushSupplier : public TAO_EC_Default_ProxyPushSupplier
{
typedef TAO_EC_Default_ProxyPushSupplier Inherited;
public:
typedef RtecEventChannelAdmin::ProxyPushSupplier Interface;
typedef FtRtecEventChannelAdmin::ProxyPushSupplierStat State;
typedef POA_RtecEventChannelAdmin::ProxyPushSupplier_ptr Skeleton;
TAO_FTEC_ProxyPushSupplier(TAO_EC_Event_Channel_Base* event_channel,
int validate_connection);
/// Activate in the POA
virtual void activate (
RtecEventChannelAdmin::ProxyPushSupplier_ptr &proxy
ACE_ENV_ARG_DECL)
ACE_THROW_SPEC ((CORBA::SystemException));
// = The RtecEventChannelAdmin::ProxyPushSupplier methods...
virtual void connect_push_consumer (
RtecEventComm::PushConsumer_ptr push_consumer,
const RtecEventChannelAdmin::ConsumerQOS &qos
ACE_ENV_ARG_DECL)
ACE_THROW_SPEC ((CORBA::SystemException,
RtecEventChannelAdmin::AlreadyConnected,
RtecEventChannelAdmin::TypeError));
virtual void disconnect_push_supplier (ACE_ENV_SINGLE_ARG_DECL)
ACE_THROW_SPEC ((CORBA::SystemException));
virtual void suspend_connection (ACE_ENV_SINGLE_ARG_DECL)
ACE_THROW_SPEC ((CORBA::SystemException));
virtual void resume_connection (ACE_ENV_SINGLE_ARG_DECL)
ACE_THROW_SPEC ((CORBA::SystemException));
const FtRtecEventChannelAdmin::ObjectId& id() const;
void get_state(FtRtecEventChannelAdmin::ProxyPushSupplierStat& state);
void set_state(const FtRtecEventChannelAdmin::ProxyPushSupplierStat& state
ACE_ENV_ARG_DECL);
typedef void (FtRtecEventChannelAdmin::EventChannelFacade::*RollbackOperation)
(const FtRtecEventChannelAdmin::ObjectId& ACE_ENV_ARG_DECL);
static const RollbackOperation rollback_obtain;
private:
FtRtecEventChannelAdmin::ObjectId_var object_id_;
};
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -