2001 2011 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. The Initial Developer of the Original Code is Ericsson AB. CosEventDomainAdmin_­EventDomainFactory ..._EventChannel Niclas Eklund Niclas Eklund Niclas Eklund 2001-08-20 PA1
CosEventDomainAdmin_EventDomainFactory This module implements an Event Domain Factory interface, which is used to create new Event Domain instances.

To get access to all definitions include necessary files by using:

create_event_domain(Factory, QoS, Admin) -> Reply Create a new ConsumerAdmin object Factory = #objref QoS = CosNotification::QoSProperties Admin = CosNotification::AdminProperties Reply = {EventDomain, DomainID} | {'EXCEPTION', #'CosNotification_UnsupportedQoS'{}} | {'EXCEPTION', #'CosNotification_UnsupportedAdmin'{}} EventDomain = #objref

To create a new EventDomain this operation is used. If it is not possible to support the given or an exception is raised, which list the properties not supported. For more information see the user's guide.

get_all_domains(Factory) -> DomainIDSeq Return a DomainID sequence of all domains associated with the target object Factory = #objref DomainIDSeq = [long()]

This function returns a DomainID sequence of all domains associated with the target object.

get_event_domain(Factory, DomainID) -> Reply Return the domain associated with the given id Factory = #objref DomainID = long() Reply = EventDomain | {'EXCEPTION', #'CosEventDomainAdmin_DomainNotFound'{}} EventDomain = #objref

This operation returns the EventDomain object associated with the given DomainID. If no such binding exists an exception is raised.