Go to the documentation of this file.00001
00002
00003 #include "orbsvcs/Notify/Properties.h"
00004 #include "orbsvcs/NotifyExtC.h"
00005 #include "tao/debug.h"
00006
00007 #if ! defined (__ACE_INLINE__)
00008 #include "orbsvcs/Notify/Properties.inl"
00009 #endif
00010
00011 ACE_RCSID (Notify,
00012 TAO_Notify_Properties,
00013 "$Id: Properties.cpp 84685 2009-03-02 22:49:17Z mesnier_p $")
00014
00015 TAO_BEGIN_VERSIONED_NAMESPACE_DECL
00016
00017 TAO_Notify_Properties::TAO_Notify_Properties (void)
00018 : factory_ (0)
00019 , builder_ (0)
00020 , orb_(0)
00021 , dispatching_orb_ (0)
00022 , asynch_updates_ (false)
00023 , allow_reconnect_ (false)
00024 , validate_client_ (false)
00025 , separate_dispatching_orb_ (false)
00026 , updates_ (1)
00027 , defaultConsumerAdminFilterOp_ (CosNotifyChannelAdmin::OR_OP)
00028 , defaultSupplierAdminFilterOp_ (CosNotifyChannelAdmin::OR_OP)
00029 {
00030
00031 NotifyExt::ThreadPoolParams tp_params =
00032 {NotifyExt::CLIENT_PROPAGATED,0, 0, 0, 0, 0, 0, 0,0};
00033
00034 this->ec_qos_.length (1);
00035 this->ec_qos_[0].name = CORBA::string_dup (NotifyExt::ThreadPool);
00036 this->ec_qos_[0].value <<= tp_params;
00037
00038 if (TAO_debug_level > 1)
00039 ACE_DEBUG ((LM_DEBUG, "in TAO_Properties ctos %x\n", this));
00040 }
00041
00042 TAO_Notify_Properties::~TAO_Notify_Properties ()
00043 {
00044 }
00045
00046 TAO_Notify_Properties *
00047 TAO_Notify_Properties::instance (void)
00048 {
00049 return ACE_Unmanaged_Singleton<TAO_Notify_Properties,
00050 TAO_SYNCH_MUTEX>::instance ();
00051 }
00052
00053 void
00054 TAO_Notify_Properties::close (void)
00055 {
00056 ACE_Unmanaged_Singleton<TAO_Notify_Properties,
00057 TAO_SYNCH_MUTEX>::close ();
00058 }
00059
00060 TAO_END_VERSIONED_NAMESPACE_DECL