20002011 Ericsson AB. All Rights Reserved. The contents of this file are subject to the Erlang Public License, Version 1.1, (the "License"); you may not use this file except in compliance with the License. You should have received a copy of the Erlang Public License along with this software. If not, it can be retrieved online at http://www.erlang.org/. Software distributed under the License is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for the specific language governing rights and limitations under the License. CosNotifyChannelAdmin_EventChannelFactory 2000-02-01 1.0
CosNotifyChannelAdmin_EventChannelFactory This module implements the OMG CosNotifyChannelAdmin::EventChannelFactory interface.

To get access to the record definitions for the structures use:

-include_lib("cosNotification/include/*.hrl").

create_channel(ChannelFactory, InitialQoS, InitialAdmin) -> Return Create a new channel ChannelFactory = #objref InitialQoS = CosNotification::QoSProperties InitialAdmin = CosNotification::AdminProperties Return = {EventChannel, ChannelID} EventChannel = #objref ChannelID = long()

This operation creates a new event channel. Along with the channel reference an id is returned which can be used when invoking other operations exported by this module. The Quality of Service argument supplied will be inherited by objects created by the channel. For more information about QoS settings see the User's Guide.

If no QoS- and/or Admin-properties are supplied (i.e. empty list), the default settings will be used. For more information, see the User's Guide.

get_all_channels(ChannelFactory) -> ChannelIDSeq Return all Id:s for channels, currently alive, created by the target object ChannelFactory = #objref ChannelIDSeq = [long()]

This operation returns a id sequence of all channel's created by this ChannelFactory.

get_event_channel(ChannelFactory, ChannelID) -> Return Return the channel object associated with the given Id ChannelFactory = #objref ChannelID = long() Retrurn = EventChannel | {'EXCEPTION', #'CosNotifyChannelAdmin_ChannelNotFound'{}} EventChannel = #objref

This operation returns the EventChannel associated with the given id. If no channel is associated with the id, i.e., never existed or have been terminated, an exception is raised.