Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members  

CosNotifyChannelAdmin::EventChannelFactory Interface Reference

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

import "CosNotifyChannelAdmin.idl";

List of all members.

Public Methods

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. More...

ChannelIDSeq get_all_channels ()
 Get all event channels created by this factory. More...

EventChannel get_event_channel (in ChannelID id) raises (ChannelNotFound)
 Get an event channel object from its ID. More...


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.

m <code>initial_qos</code> - A list of name-value pair that
specify the desired quality of service settings for this event channel.
m <code>initial_admin</code> - A list of name-value pair that
specify the desired administrative settings for this event channel.
Returns:
A new event channel object reference. @raises UnsupportedQoS If any of the settings in the initial_qos sequence could not be supported. @raises 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.

m <code>id</code> - A unique identifier for the channel object.
Returns:
An EventChannel object reference. @raises ChannelNotFound If no channel object with that ID could be found.