CosNotifyChannelAdmin::EventChannelFactory Interface Reference

An interface for the event channel factory. More...

import "CosNotifyChannelAdmin.idl";

List of all members.

Public Member Functions

EventChannel create_channel (in CosNotification::QoSProperties initial_qos, in CosNotification::AdminProperties initial_admin, out ChannelID id) raises (CosNotification::UnsupportedQoS, CosNotification::UnsupportedAdmin )
 Create an event channel with specified quality of service.
ChannelIDSeq get_all_channels ()
 Get all event channels created by this factory.
EventChannel get_event_channel (in ChannelID id) raises (ChannelNotFound)
 Get an event channel object from its ID.


Detailed Description

An interface for the event channel factory.


Member Function Documentation

EventChannel CosNotifyChannelAdmin::EventChannelFactory::create_channel ( in CosNotification::QoSProperties  initial_qos,
in CosNotification::AdminProperties  initial_admin,
out ChannelID  id 
) raises (CosNotification::UnsupportedQoS, CosNotification::UnsupportedAdmin )

Create an event channel with specified quality of service.

initial_qos - A list of name-value pair that specify the desired quality of service settings for this event channel. initial_admin - A list of name-value pair that specify the desired administrative settings for this event channel.

Returns:
A new event channel object reference. UnsupportedQoS If any of the settings in the initial_qos sequence could not be supported. UnsupportedAdmin If any of the settings in the initial_admin sequence could not be supported.

ChannelIDSeq CosNotifyChannelAdmin::EventChannelFactory::get_all_channels (  ) 

Get all event channels created by this factory.

Returns:
A sequence of channel object unique identifiers.

EventChannel CosNotifyChannelAdmin::EventChannelFactory::get_event_channel ( in ChannelID  id  )  raises (ChannelNotFound)

Get an event channel object from its ID.

id - A unique identifier for the channel object.

Returns:
An EventChannel object reference. ChannelNotFound If no channel object with that ID could be found.