20002013 Ericsson AB. All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions 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.