Erlang -- CosEventDomainAdmin_EventDomainFactory

cosEventDomain

Reference Manual

Version 1.2.1

- User's Guide
- Reference Manual
- Release Notes
- PDF
- Top

- Expand All
- Contract All

### Table of Contents

- cosEventDomainApp
  - Top of manual page
  - install/0
  - start/0
  - start_factory/0
  - start_factory/1
  - start_factory_link/0
  - start_factory_link/1
  - stop/0
  - stop_factory/1
  - uninstall/0
- CosEventDomainAdmin
  - Top of manual page
  - 'AuthorizeCycles'/0
  - 'AuthorizeDiamonds'/0
  - 'CycleDetection'/0
  - 'DiamondDetection'/0
  - 'ForbidCycles'/0
  - 'ForbidDiamonds'/0
- CosEventDomainAdmin_EventDomainFactory
  - Top of manual page
  - create_event_domain/3
  - get_all_domains/1
  - get_event_domain/2
- CosEventDomainAdmin_EventDomain
  - Top of manual page
  - add_channel/2
  - add_connection/2
  - connect_pull_consumer/2
  - connect_pull_consumer_with_id/3
  - connect_pull_supplier/2
  - connect_pull_supplier_with_id/3
  - connect_push_consumer/2
  - connect_push_consumer_with_id/3
  - connect_push_supplier/2
  - connect_push_supplier_with_id/3
  - connect_sequence_pull_consumer/2
  - connect_sequence_pull_consumer_with_id/3
  - connect_sequence_pull_supplier/2
  - connect_sequence_pull_supplier_with_id/3
  - connect_sequence_push_consumer/2
  - connect_sequence_push_consumer_with_id/3
  - connect_sequence_push_supplier/2
  - connect_sequence_push_supplier_with_id/3
  - connect_structured_pull_consumer/2
  - connect_structured_pull_consumer_with_id/3
  - connect_structured_pull_supplier/2
  - connect_structured_pull_supplier_with_id/3
  - connect_structured_push_consumer/2
  - connect_structured_push_consumer_with_id/3
  - connect_structured_push_supplier/2
  - connect_structured_push_supplier_with_id/3
  - destroy/1
  - get_all_channels/1
  - get_all_connections/1
  - get_channel/2
  - get_connection/2
  - get_cycles/1
  - get_diamonds/1
  - get_offer_channels/2
  - get_subscription_channels/2
  - remove_channel/2
  - remove_connection/2
  - set_default_consumer_channel/2
  - set_default_supplier_channel/2

# CosEventDomainAdmin_EventDomainFactory

### Module

CosEventDomainAdmin_EventDomainFactory

### Module Summary

This module implements an Event Domain Factory interface, which is used to create new Event Domain instances.

### Description

To get access to all definitions include necessary hrl files by using:
-include_lib("cosEventDomain/include/*.hrl").

### Exports

create_event_domain(Factory, QoS, Admin) -> Reply

### Types

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 QoSProperties or AdminProperties an exception is raised, which list the properties not supported. For more information see the cosNotification user's guide.

get_all_domains(Factory) -> DomainIDSeq

### Types

Factory = #objref
DomainIDSeq = [long()]

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

get_event_domain(Factory, DomainID) -> Reply

### Types

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.