📄 pushsupplier.cpp
字号:
// PushSupplier.cpp,v 1.7 2003/09/04 03:27:24 ossama Exp
#include "PushSupplier.h"
#if ! defined (__ACE_INLINE__)
#include "PushSupplier.inl"
#endif /* __ACE_INLINE__ */
ACE_RCSID (Notify, TAO_Notify_PushSupplier, "PushSupplier.cpp,v 1.7 2003/09/04 03:27:24 ossama Exp")
TAO_Notify_PushSupplier::TAO_Notify_PushSupplier (TAO_Notify_ProxyConsumer* proxy)
:TAO_Notify_Supplier (proxy)
{
}
TAO_Notify_PushSupplier::~TAO_Notify_PushSupplier ()
{
}
void
TAO_Notify_PushSupplier::init (CosEventComm::PushSupplier_ptr push_supplier ACE_ENV_ARG_DECL)
{
this->push_supplier_ = CosEventComm::PushSupplier::_duplicate (push_supplier);
ACE_TRY
{
this->subscribe_ = CosNotifyComm::NotifySubscribe::_narrow (push_supplier ACE_ENV_ARG_PARAMETER);
ACE_TRY_CHECK;
}
ACE_CATCHANY
{
// _narrow failed which probably means the interface is CosEventComm type.
}
ACE_ENDTRY;
}
void
TAO_Notify_PushSupplier::release (void)
{
delete this;
//@@ inform factory
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -