00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018 #ifndef TAO_CEC_SUPPLIERCONTROL_H
00019 #define TAO_CEC_SUPPLIERCONTROL_H
00020
00021 #include "ace/pre.h"
00022
00023 #include "orbsvcs/CosEvent/event_serv_export.h"
00024
00025 #if !defined (ACE_LACKS_PRAGMA_ONCE)
00026 # pragma once
00027 #endif
00028
00029 #include "tao/PortableServer/PortableServer.h"
00030 #include "tao/Basic_Types.h"
00031
00032 TAO_BEGIN_VERSIONED_NAMESPACE_DECL
00033
00034 class TAO_CEC_EventChannel;
00035 class TAO_CEC_ProxyPushConsumer;
00036 class TAO_CEC_ProxyPullConsumer;
00037
00038 #if defined (TAO_HAS_TYPED_EVENT_CHANNEL)
00039 class TAO_CEC_TypedProxyPushConsumer;
00040 #endif
00041
00042 namespace CORBA
00043 {
00044 class SystemException;
00045 }
00046
00047
00048
00049
00050
00051
00052
00053
00054
00055
00056
00057
00058 class TAO_Event_Serv_Export TAO_CEC_SupplierControl
00059 {
00060 public:
00061
00062
00063 TAO_CEC_SupplierControl (void);
00064
00065
00066 virtual ~TAO_CEC_SupplierControl (void);
00067
00068
00069
00070 virtual int activate (void);
00071 virtual int shutdown (void);
00072
00073
00074
00075
00076
00077
00078 virtual void supplier_not_exist (TAO_CEC_ProxyPushConsumer *proxy);
00079
00080 #if defined (TAO_HAS_TYPED_EVENT_CHANNEL)
00081 virtual void supplier_not_exist (TAO_CEC_TypedProxyPushConsumer *proxy);
00082 #endif
00083
00084
00085
00086
00087
00088
00089 virtual void supplier_not_exist (TAO_CEC_ProxyPullConsumer *proxy);
00090
00091
00092 virtual void system_exception (TAO_CEC_ProxyPullConsumer *proxy,
00093 CORBA::SystemException &);
00094
00095
00096
00097
00098
00099 virtual bool need_to_disconnect (PortableServer::ServantBase* proxy);
00100
00101
00102 virtual void successful_transmission (PortableServer::ServantBase* proxy);
00103 };
00104
00105 TAO_END_VERSIONED_NAMESPACE_DECL
00106
00107 #include "ace/post.h"
00108 #endif