ftec_proxysupplier.h
来自「这是广泛使用的通信开源项目,对于大容量,高并发的通讯要求完全能够胜任,他广泛可用」· C头文件 代码 · 共 69 行
H
69 行
// -*- 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 + =
减小字号Ctrl + -
显示快捷键?