Public Types |
typedef
TAO_Notify_Refcountable_Guard_T
< TAO_Notify_EventChannelFactory > | Ptr |
Public Member Functions |
| TAO_Notify_EventChannelFactory (void) |
| Constructor.
|
void | init (PortableServer::POA_ptr poa) |
| Init the factory.
|
virtual | ~TAO_Notify_EventChannelFactory () |
| Destructor.
|
virtual void | _add_ref (void) |
| = ServantBase Methods
|
virtual void | _remove_ref (void) |
virtual void | remove (TAO_Notify_EventChannel *channel) |
| Remove channel from the <ec_container_>
|
virtual
CosNotifyChannelAdmin::EventChannel_ptr | create_named_channel (const CosNotification::QoSProperties &initial_qos, const CosNotification::AdminProperties &initial_admin, CosNotifyChannelAdmin::ChannelID_out id, const char *name) |
void | load_topology (void) |
void | set_topology_factory (TAO_Notify::Topology_Factory *sf) |
virtual bool | is_persistent (void) const |
| Should this object be saved?
|
virtual void | save_persistent (TAO_Notify::Topology_Saver &saver) |
virtual bool | change_to_parent (void) |
| Send change to parent.
|
virtual
TAO_Notify::Topology_Object * | load_child (const ACE_CString &type, CORBA::Long id, const TAO_Notify::NVPList &attrs) |
| Create a child of the appropriate type and return it.
|
CosNotifyChannelAdmin::EventChannelFactory_ptr | activate_self (void) |
virtual void | reconnect (void) |
virtual void | validate () |
void | stop_validator (void) |
| at shutdown time, this causes the validator thread to exit.
|
bool | handle_change (void) |
| Handle change notifications.
|
void | load_event_persistence (void) |
virtual void | save_topology (void) |
TAO_Notify_ProxyConsumer * | find_proxy_consumer (TAO_Notify::IdVec &id_path, size_t position) |
TAO_Notify_ProxySupplier * | find_proxy_supplier (TAO_Notify::IdVec &id_path, size_t position) |
TAO_Notify_Object * | follow_id_path (TAO_Notify::IdVec &id_path, size_t position) |
virtual TAO_Notify_Object::ID | get_id (void) const |
| Find the id associated with topology object.
|
Protected Member Functions |
virtual
::CosNotifyChannelAdmin::EventChannel_ptr | create_channel (const CosNotification::QoSProperties &initial_qos, const CosNotification::AdminProperties &initial_admin, CosNotifyChannelAdmin::ChannelID_out id) |
| = CosNotifyChannelAdmin Methods
|
virtual
::CosNotifyChannelAdmin::ChannelIDSeq * | get_all_channels (void) |
virtual
::CosNotifyChannelAdmin::EventChannel_ptr | get_event_channel (CosNotifyChannelAdmin::ChannelID id) |
Private Types |
typedef ACE_Unbounded_Set
< TAO_Notify::Routing_Slip_Ptr > | Routing_Slip_Set |
typedef TAO_Notify_Container_T
< TAO_Notify_EventChannel > | TAO_Notify_EventChannel_Container |
Private Member Functions |
virtual void | destroy (void) |
| = Data Members
|
virtual int | shutdown (void) |
| shutdown
|
virtual
NotifyExt::ReconnectionRegistry::ReconnectionID | register_callback (NotifyExt::ReconnectionCallback_ptr reconnection) |
virtual void | unregister_callback (NotifyExt::ReconnectionRegistry::ReconnectionID id) |
virtual CORBA::Boolean | is_alive (void) |
TAO_Notify_EventChannel_Container & | ec_container () |
virtual void | release (void) |
| Release this object.
|
Private Attributes |
ACE_Auto_Ptr
< TAO_Notify_EventChannel_Container > | ec_container_ |
| Container for Event Channels.
|
TAO_SYNCH_MUTEX | topology_save_lock_ |
CosNotifyChannelAdmin::EventChannelFactory_var | channel_factory_ |
short | topology_save_seq_ |
| Change-in-progress detector to avoid duplicates.
|
TAO_Notify::Topology_Factory * | topology_factory_ |
TAO_Notify::Reconnection_Registry | reconnect_registry_ |
bool | loading_topology_ |
Routing_Slip_Set | routing_slip_restart_set_ |
ACE_Auto_Ptr
< TAO_Notify_validate_client_Task > | validate_client_task_ |
PortableServer::POA_var | poa_ |
| The POA in which the object is activated.
|
Friends |
class | TAO_Notify_Builder |
Save our state to a Topology_Saver.
Use the methods of a Topology_Saver to store all information we want persisted. This function is called by our parent, which gives us a saver to use. In turn, we must call this function on all of our children. The implementation should look like: bool change = this->self_changed_; this->self_changed_ = false; this->children_changed_ = false; if (is_persistent ()) { bool want_all_children = saver.begin_object( this->id(), type, attrs, change); for all children { if (want_all_children || child.is_changed()) { child.save_persistent(saver); } } for all deleted children { saver.delete_child(child_type, child_id); } saver.end_object(this->id(), type); )
Implements TAO_Notify::Topology_Savable.