Interface CosNotifyChannelAdmin::EventChannelFactory

interface EventChannelFactory

The EventChannelFactory interface contains operations which support the creation and management of Notification Service event channels.



Operation Index

create_channel
Creates a new channel.
get_all_channels
Obtains a list of all channels known to the factory.
get_event_channel
Obtains a channel reference from a channel ID.

Operations

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

Creates a new channel.

Parameters:
initial_qos - A sequence of QoS properties to be assigned to the new channel.
initial_admin - A sequence of administrative properties to be assigned to the new channel.
id - The ID assigned to the channel by the target object is returned in this parameter.
Returns:
A reference to the newly created channel is returned. If any of the QoS properties in initial_QoS are not supported an UnsupportedQoS exception is raised. If any of the administrative properties in initial_admin are not supported an UnsupportedAdmin exception is raised.

get_all_channels
ChannelIDSeq get_all_channels();

Obtains a list of all channels known to the factory.

Returns:
A sequence of IDs representing all channels currently managed by the target object.

get_event_channel
EventChannel get_event_channel(in ChannelID id)
    raises(ChannelNotFound);

Obtains a channel reference from a channel ID.

Parameters:
id - The id of channel for which a reference is required.
Returns:
A reference to a channel with the corresponding ID. If no channel could be found with the given ID a ChannelNotFound exception is raised.


Generated by the ORBacus IDL-to-HTML translator (non-commercial)