EC_TPC_ProxySupplier.h

Go to the documentation of this file.
00001 // -*- C++ -*-
00002 /**
00003  *  @file   EC_TPC_ProxySupplier.h
00004  *
00005  *  EC_TPC_ProxySupplier.h,v 1.4 2006/03/14 06:14:25 jtc Exp
00006  *
00007  *  @author Chris Cleeland <cleeland at ociweb.com>
00008  *
00009  */
00010 
00011 #ifndef TAO_EC_TPC_PROXYSUPPLIER_H
00012 #define TAO_EC_TPC_PROXYSUPPLIER_H
00013 #include /**/ "ace/pre.h"
00014 
00015 #include "orbsvcs/Event/EC_Default_ProxySupplier.h"
00016 
00017 #if !defined (ACE_LACKS_PRAGMA_ONCE)
00018 # pragma once
00019 #endif /* ACE_LACKS_PRAGMA_ONCE */
00020 
00021 TAO_BEGIN_VERSIONED_NAMESPACE_DECL
00022 
00023 class TAO_EC_Dispatching;
00024 class TAO_EC_TPC_Dispatching;
00025 
00026 class TAO_RTEvent_Serv_Export TAO_EC_TPC_ProxyPushSupplier :
00027   public TAO_EC_Default_ProxyPushSupplier
00028 {
00029 public:
00030   /// Constructor
00031   TAO_EC_TPC_ProxyPushSupplier (TAO_EC_Event_Channel_Base* event_channel, int validate_connection);
00032   
00033   /// Dtor
00034   virtual ~TAO_EC_TPC_ProxyPushSupplier (void);
00035 
00036   /*! These are overriden from the base class in order to maintain the
00037        map in the dispatcher class. */
00038   
00039   // = The RtecEventChannelAdmin::ProxyPushSupplier methods...
00040   virtual void connect_push_consumer (
00041                 RtecEventComm::PushConsumer_ptr push_consumer,
00042                 const RtecEventChannelAdmin::ConsumerQOS &qos
00043                 ACE_ENV_ARG_DECL_NOT_USED)
00044       ACE_THROW_SPEC ((CORBA::SystemException,
00045                        RtecEventChannelAdmin::AlreadyConnected,
00046                        RtecEventChannelAdmin::TypeError));
00047 
00048   virtual void disconnect_push_supplier (ACE_ENV_SINGLE_ARG_DECL_NOT_USED)
00049       ACE_THROW_SPEC ((CORBA::SystemException));
00050   
00051 private:  
00052   typedef TAO_EC_Default_ProxyPushSupplier BASECLASS;
00053   TAO_EC_TPC_Dispatching* tpc_dispatching ();
00054 };
00055 
00056 TAO_END_VERSIONED_NAMESPACE_DECL
00057 
00058 #if defined (__ACE_INLINE__)
00059 #include "orbsvcs/Event/EC_TPC_ProxySupplier.i"
00060 #endif /* __ACE_INLINE__ */
00061 
00062 #include /**/ "ace/post.h"
00063 
00064 #endif

Generated on Thu Nov 9 13:11:09 2006 for TAO_RTEvent by doxygen 1.3.6