%%------------------------------------------------------------
%%
%% Implementation stub file
%% 
%% Target: oe_CosEventDomainAdmin
%% Source: /ldisk/daily_build/otp_prebuild_r12b.2008-11-05_12/otp_src_R12B-5/lib/cosEventDomain/src/CosEventDomainAdmin.idl
%% IC vsn: 4.2.19
%% 
%% This file is automatically generated. DO NOT EDIT IT.
%%
%%------------------------------------------------------------

-module(oe_CosEventDomainAdmin).
-ic_compiled("4_2_19").


-include_lib("orber/include/ifr_types.hrl").

%% Interface functions

-export([oe_register/0, oe_unregister/0, oe_get_module/5]).
-export([oe_dependency/0]).



oe_register() ->
    OE_IFR = orber_ifr:find_repository(),

    register_tests(OE_IFR),

    _OE_1 = oe_get_top_module(OE_IFR, "IDL:omg.org/CosEventDomainAdmin:1.0", "CosEventDomainAdmin", "1.0"),

    orber_ifr:'ModuleDef_create_constant'(_OE_1, "IDL:omg.org/CosEventDomainAdmin/CycleDetection:1.0", "CycleDetection", "1.0", orber_ifr:'Repository_create_idltype'(OE_IFR, {tk_string,0}), {{tk_string,0},
                                                                 "CycleDetection"}),

    orber_ifr:'ModuleDef_create_constant'(_OE_1, "IDL:omg.org/CosEventDomainAdmin/AuthorizeCycles:1.0", "AuthorizeCycles", "1.0", orber_ifr:'Repository_create_idltype'(OE_IFR, tk_short), {tk_short,0}),

    orber_ifr:'ModuleDef_create_constant'(_OE_1, "IDL:omg.org/CosEventDomainAdmin/ForbidCycles:1.0", "ForbidCycles", "1.0", orber_ifr:'Repository_create_idltype'(OE_IFR, tk_short), {tk_short,1}),

    orber_ifr:'ModuleDef_create_constant'(_OE_1, "IDL:omg.org/CosEventDomainAdmin/DiamondDetection:1.0", "DiamondDetection", "1.0", orber_ifr:'Repository_create_idltype'(OE_IFR, {tk_string,0}), {{tk_string,0},
                                                                 "DiamondDetection"}),

    orber_ifr:'ModuleDef_create_constant'(_OE_1, "IDL:omg.org/CosEventDomainAdmin/AuthorizeDiamonds:1.0", "AuthorizeDiamonds", "1.0", orber_ifr:'Repository_create_idltype'(OE_IFR, tk_short), {tk_short,0}),

    orber_ifr:'ModuleDef_create_constant'(_OE_1, "IDL:omg.org/CosEventDomainAdmin/ForbidDiamonds:1.0", "ForbidDiamonds", "1.0", orber_ifr:'Repository_create_idltype'(OE_IFR, tk_short), {tk_short,1}),

    orber_ifr:'ModuleDef_create_enum'(_OE_1, "IDL:omg.org/CosEventDomainAdmin/ChannelType:1.0", "ChannelType", "1.0", ["CHANNEL","TYPED_CHANNEL","LOG_CHANNEL","TYPED_LOG_CHANNEL"]),

    orber_ifr:'ModuleDef_create_enum'(_OE_1, "IDL:omg.org/CosEventDomainAdmin/NotificationStyle:1.0", "NotificationStyle", "1.0", ["Push","Pull"]),

    orber_ifr:'ModuleDef_create_alias'(_OE_1, "IDL:omg.org/CosEventDomainAdmin/MemberID:1.0", "MemberID", "1.0", orber_ifr:'Repository_create_idltype'(OE_IFR, tk_long)),

    orber_ifr:'ModuleDef_create_alias'(_OE_1, "IDL:omg.org/CosEventDomainAdmin/MemberIDSeq:1.0", "MemberIDSeq", "1.0", orber_ifr:'Repository_create_idltype'(OE_IFR, {tk_sequence,tk_long,0})),

    orber_ifr:'ModuleDef_create_alias'(_OE_1, "IDL:omg.org/CosEventDomainAdmin/ConnectionID:1.0", "ConnectionID", "1.0", orber_ifr:'Repository_create_idltype'(OE_IFR, tk_long)),

    orber_ifr:'ModuleDef_create_alias'(_OE_1, "IDL:omg.org/CosEventDomainAdmin/ConnectionIDSeq:1.0", "ConnectionIDSeq", "1.0", orber_ifr:'Repository_create_idltype'(OE_IFR, {tk_sequence,tk_long,0})),

    orber_ifr:'ModuleDef_create_struct'(_OE_1, "IDL:omg.org/CosEventDomainAdmin/Connection:1.0", "Connection", "1.0", [#structmember{name="supplier_id", type=tk_long, type_def=orber_ifr:'Repository_create_idltype'(OE_IFR, tk_long)}, #structmember{name="consumer_id", type=tk_long, type_def=orber_ifr:'Repository_create_idltype'(OE_IFR, tk_long)}, #structmember{name="ctype", type={tk_enum,
                                     "IDL:omg.org/CosNotifyChannelAdmin/ClientType:1.0",
                                     "ClientType",
                                     ["ANY_EVENT","STRUCTURED_EVENT",
                                      "SEQUENCE_EVENT"]}, type_def=orber_ifr:'Repository_create_idltype'(OE_IFR, {tk_enum,
                                               "IDL:omg.org/CosNotifyChannelAdmin/ClientType:1.0",
                                               "ClientType",
                                               ["ANY_EVENT",
                                                "STRUCTURED_EVENT",
                                                "SEQUENCE_EVENT"]})}, #structmember{name="notification_style", type={tk_enum,
                                               "IDL:omg.org/CosEventDomainAdmin/NotificationStyle:1.0",
                                               "NotificationStyle",
                                               ["Push","Pull"]}, type_def=orber_ifr:'Repository_create_idltype'(OE_IFR, {tk_enum,
                                               "IDL:omg.org/CosEventDomainAdmin/NotificationStyle:1.0",
                                               "NotificationStyle",
                                               ["Push","Pull"]})}]),

    orber_ifr:'ModuleDef_create_alias'(_OE_1, "IDL:omg.org/CosEventDomainAdmin/Route:1.0", "Route", "1.0", orber_ifr:'Repository_create_idltype'(OE_IFR, {tk_sequence,tk_long,0})),

    orber_ifr:'ModuleDef_create_alias'(_OE_1, "IDL:omg.org/CosEventDomainAdmin/RouteSeq:1.0", "RouteSeq", "1.0", orber_ifr:'Repository_create_idltype'(OE_IFR, {tk_sequence,
                                               {tk_sequence,tk_long,0},
                                               0})),

    orber_ifr:'ModuleDef_create_alias'(_OE_1, "IDL:omg.org/CosEventDomainAdmin/Cycle:1.0", "Cycle", "1.0", orber_ifr:'Repository_create_idltype'(OE_IFR, {tk_sequence,tk_long,0})),

    orber_ifr:'ModuleDef_create_alias'(_OE_1, "IDL:omg.org/CosEventDomainAdmin/CycleSeq:1.0", "CycleSeq", "1.0", orber_ifr:'Repository_create_idltype'(OE_IFR, {tk_sequence,
                                               {tk_sequence,tk_long,0},
                                               0})),

    orber_ifr:'ModuleDef_create_alias'(_OE_1, "IDL:omg.org/CosEventDomainAdmin/Diamond:1.0", "Diamond", "1.0", orber_ifr:'Repository_create_idltype'(OE_IFR, {tk_sequence,
                                               {tk_sequence,tk_long,0},
                                               0})),

    orber_ifr:'ModuleDef_create_alias'(_OE_1, "IDL:omg.org/CosEventDomainAdmin/DiamondSeq:1.0", "DiamondSeq", "1.0", orber_ifr:'Repository_create_idltype'(OE_IFR, {tk_sequence,
                                               {tk_sequence,
                                                {tk_sequence,tk_long,0},
                                                0},
                                               0})),

    orber_ifr:'ModuleDef_create_exception'(_OE_1, "IDL:omg.org/CosEventDomainAdmin/CycleCreationForbidden:1.0", "CycleCreationForbidden", "1.0", [#structmember{name="cyc", type={tk_sequence,tk_long,0}, type_def=orber_ifr:'Repository_create_idltype'(OE_IFR, {tk_sequence,tk_long,0})}]),

    orber_ifr:'ModuleDef_create_exception'(_OE_1, "IDL:omg.org/CosEventDomainAdmin/DiamondCreationForbidden:1.0", "DiamondCreationForbidden", "1.0", [#structmember{name="diam", type={tk_sequence,{tk_sequence,tk_long,0},0}, type_def=orber_ifr:'Repository_create_idltype'(OE_IFR, {tk_sequence,
                                               {tk_sequence,tk_long,0},
                                               0})}]),

    orber_ifr:'ModuleDef_create_alias'(_OE_1, "IDL:omg.org/CosEventDomainAdmin/DomainID:1.0", "DomainID", "1.0", orber_ifr:'Repository_create_idltype'(OE_IFR, tk_long)),

    orber_ifr:'ModuleDef_create_alias'(_OE_1, "IDL:omg.org/CosEventDomainAdmin/DomainIDSeq:1.0", "DomainIDSeq", "1.0", orber_ifr:'Repository_create_idltype'(OE_IFR, {tk_sequence,tk_long,0})),

    orber_ifr:'ModuleDef_create_alias'(_OE_1, "IDL:omg.org/CosEventDomainAdmin/ItemID:1.0", "ItemID", "1.0", orber_ifr:'Repository_create_idltype'(OE_IFR, tk_long)),

    orber_ifr:'ModuleDef_create_exception'(_OE_1, "IDL:omg.org/CosEventDomainAdmin/ConnectionNotFound:1.0", "ConnectionNotFound", "1.0", []),

    orber_ifr:'ModuleDef_create_exception'(_OE_1, "IDL:omg.org/CosEventDomainAdmin/AlreadyExists:1.0", "AlreadyExists", "1.0", []),

    _OE_2 = orber_ifr:'ModuleDef_create_interface'(_OE_1, "IDL:omg.org/CosEventDomainAdmin/EventDomain:1.0", "EventDomain", "1.0", [orber_ifr:lookup_id(OE_IFR,"IDL:omg.org/CosNotification/AdminPropertiesAdmin:1.0"), orber_ifr:lookup_id(OE_IFR,"IDL:omg.org/CosNotification/QoSAdmin:1.0")]),

    orber_ifr:'InterfaceDef_create_operation'(_OE_2, "IDL:omg.org/CosEventDomainAdmin/EventDomain/add_channel:1.0", "add_channel", "1.0", orber_ifr:'Repository_create_idltype'(OE_IFR, tk_long), 'OP_NORMAL', [#parameterdescription{name="channel", type={tk_objref,
                                            "IDL:omg.org/CosNotifyChannelAdmin/EventChannel:1.0",
                                            "EventChannel"}, type_def=orber_ifr:'Repository_create_idltype'(OE_IFR, {tk_objref,
                                               "IDL:omg.org/CosNotifyChannelAdmin/EventChannel:1.0",
                                               "EventChannel"}), mode='PARAM_IN'}
], [], []),

    orber_ifr:'InterfaceDef_create_operation'(_OE_2, "IDL:omg.org/CosEventDomainAdmin/EventDomain/get_all_channels:1.0", "get_all_channels", "1.0", orber_ifr:'Repository_create_idltype'(OE_IFR, {tk_sequence,tk_long,0}), 'OP_NORMAL', [], [], []),

    orber_ifr:'InterfaceDef_create_operation'(_OE_2, "IDL:omg.org/CosEventDomainAdmin/EventDomain/get_channel:1.0", "get_channel", "1.0", orber_ifr:'Repository_create_idltype'(OE_IFR, {tk_objref,
                                               "IDL:omg.org/CosNotifyChannelAdmin/EventChannel:1.0",
                                               "EventChannel"}), 'OP_NORMAL', [#parameterdescription{name="channel", type=tk_long, type_def=orber_ifr:'Repository_create_idltype'(OE_IFR, tk_long), mode='PARAM_IN'}
], [orber_ifr:lookup_id(OE_IFR,"IDL:omg.org/CosNotifyChannelAdmin/ChannelNotFound:1.0")], []),

    orber_ifr:'InterfaceDef_create_operation'(_OE_2, "IDL:omg.org/CosEventDomainAdmin/EventDomain/remove_channel:1.0", "remove_channel", "1.0", orber_ifr:'Repository_create_idltype'(OE_IFR, tk_void), 'OP_NORMAL', [#parameterdescription{name="channel", type=tk_long, type_def=orber_ifr:'Repository_create_idltype'(OE_IFR, tk_long), mode='PARAM_IN'}
], [orber_ifr:lookup_id(OE_IFR,"IDL:omg.org/CosNotifyChannelAdmin/ChannelNotFound:1.0")], []),

    orber_ifr:'InterfaceDef_create_operation'(_OE_2, "IDL:omg.org/CosEventDomainAdmin/EventDomain/add_connection:1.0", "add_connection", "1.0", orber_ifr:'Repository_create_idltype'(OE_IFR, tk_long), 'OP_NORMAL', [#parameterdescription{name="connection", type={tk_struct,
                                               "IDL:omg.org/CosEventDomainAdmin/Connection:1.0",
                                               "Connection",
                                               [{"supplier_id",tk_long},
                                                {"consumer_id",tk_long},
                                                {"ctype",
                                                 {tk_enum,
                                                  "IDL:omg.org/CosNotifyChannelAdmin/ClientType:1.0",
                                                  "ClientType",
                                                  ["ANY_EVENT",
                                                   "STRUCTURED_EVENT",
                                                   "SEQUENCE_EVENT"]}},
                                                {"notification_style",
                                                 {tk_enum,
                                                  "IDL:omg.org/CosEventDomainAdmin/NotificationStyle:1.0",
                                                  "NotificationStyle",
                                                  ["Push","Pull"]}}]}, type_def=orber_ifr:'Repository_create_idltype'(OE_IFR, {tk_struct,
                                               "IDL:omg.org/CosEventDomainAdmin/Connection:1.0",
                                               "Connection",
                                               [{"supplier_id",tk_long},
                                                {"consumer_id",tk_long},
                                                {"ctype",
                                                 {tk_enum,
                                                  "IDL:omg.org/CosNotifyChannelAdmin/ClientType:1.0",
                                                  "ClientType",
                                                  ["ANY_EVENT",
                                                   "STRUCTURED_EVENT",
                                                   "SEQUENCE_EVENT"]}},
                                                {"notification_style",
                                                 {tk_enum,
                                                  "IDL:omg.org/CosEventDomainAdmin/NotificationStyle:1.0",
                                                  "NotificationStyle",
                                                  ["Push","Pull"]}}]}), mode='PARAM_IN'}
], [orber_ifr:lookup_id(OE_IFR,"IDL:omg.org/CosEventDomainAdmin/DiamondCreationForbidden:1.0"), orber_ifr:lookup_id(OE_IFR,"IDL:omg.org/CosEventDomainAdmin/CycleCreationForbidden:1.0"), orber_ifr:lookup_id(OE_IFR,"IDL:omg.org/CosEventDomainAdmin/AlreadyExists:1.0"), orber_ifr:lookup_id(OE_IFR,"IDL:omg.org/CosEventChannelAdmin/TypeError:1.0"), orber_ifr:lookup_id(OE_IFR,"IDL:omg.org/CosNotifyChannelAdmin/ChannelNotFound:1.0")], []),

    orber_ifr:'InterfaceDef_create_operation'(_OE_2, "IDL:omg.org/CosEventDomainAdmin/EventDomain/get_all_connections:1.0", "get_all_connections", "1.0", orber_ifr:'Repository_create_idltype'(OE_IFR, {tk_sequence,tk_long,0}), 'OP_NORMAL', [], [], []),

    orber_ifr:'InterfaceDef_create_operation'(_OE_2, "IDL:omg.org/CosEventDomainAdmin/EventDomain/get_connection:1.0", "get_connection", "1.0", orber_ifr:'Repository_create_idltype'(OE_IFR, {tk_struct,
                                               "IDL:omg.org/CosEventDomainAdmin/Connection:1.0",
                                               "Connection",
                                               [{"supplier_id",tk_long},
                                                {"consumer_id",tk_long},
                                                {"ctype",
                                                 {tk_enum,
                                                  "IDL:omg.org/CosNotifyChannelAdmin/ClientType:1.0",
                                                  "ClientType",
                                                  ["ANY_EVENT",
                                                   "STRUCTURED_EVENT",
                                                   "SEQUENCE_EVENT"]}},
                                                {"notification_style",
                                                 {tk_enum,
                                                  "IDL:omg.org/CosEventDomainAdmin/NotificationStyle:1.0",
                                                  "NotificationStyle",
                                                  ["Push","Pull"]}}]}), 'OP_NORMAL', [#parameterdescription{name="connection", type=tk_long, type_def=orber_ifr:'Repository_create_idltype'(OE_IFR, tk_long), mode='PARAM_IN'}
], [orber_ifr:lookup_id(OE_IFR,"IDL:omg.org/CosEventDomainAdmin/ConnectionNotFound:1.0")], []),

    orber_ifr:'InterfaceDef_create_operation'(_OE_2, "IDL:omg.org/CosEventDomainAdmin/EventDomain/remove_connection:1.0", "remove_connection", "1.0", orber_ifr:'Repository_create_idltype'(OE_IFR, tk_void), 'OP_NORMAL', [#parameterdescription{name="connection", type=tk_long, type_def=orber_ifr:'Repository_create_idltype'(OE_IFR, tk_long), mode='PARAM_IN'}
], [orber_ifr:lookup_id(OE_IFR,"IDL:omg.org/CosEventDomainAdmin/ConnectionNotFound:1.0")], []),

    orber_ifr:'InterfaceDef_create_operation'(_OE_2, "IDL:omg.org/CosEventDomainAdmin/EventDomain/get_offer_channels:1.0", "get_offer_channels", "1.0", orber_ifr:'Repository_create_idltype'(OE_IFR, {tk_sequence,tk_long,0}), 'OP_NORMAL', [#parameterdescription{name="channel", type=tk_long, type_def=orber_ifr:'Repository_create_idltype'(OE_IFR, tk_long), mode='PARAM_IN'}
], [orber_ifr:lookup_id(OE_IFR,"IDL:omg.org/CosNotifyChannelAdmin/ChannelNotFound:1.0")], []),

    orber_ifr:'InterfaceDef_create_operation'(_OE_2, "IDL:omg.org/CosEventDomainAdmin/EventDomain/get_subscription_channels:1.0", "get_subscription_channels", "1.0", orber_ifr:'Repository_create_idltype'(OE_IFR, {tk_sequence,tk_long,0}), 'OP_NORMAL', [#parameterdescription{name="channel", type=tk_long, type_def=orber_ifr:'Repository_create_idltype'(OE_IFR, tk_long), mode='PARAM_IN'}
], [orber_ifr:lookup_id(OE_IFR,"IDL:omg.org/CosNotifyChannelAdmin/ChannelNotFound:1.0")], []),

    orber_ifr:'InterfaceDef_create_operation'(_OE_2, "IDL:omg.org/CosEventDomainAdmin/EventDomain/destroy:1.0", "destroy", "1.0", orber_ifr:'Repository_create_idltype'(OE_IFR, tk_void), 'OP_NORMAL', [], [], []),

    orber_ifr:'InterfaceDef_create_operation'(_OE_2, "IDL:omg.org/CosEventDomainAdmin/EventDomain/get_cycles:1.0", "get_cycles", "1.0", orber_ifr:'Repository_create_idltype'(OE_IFR, {tk_sequence,
                                               {tk_sequence,tk_long,0},
                                               0}), 'OP_NORMAL', [], [], []),

    orber_ifr:'InterfaceDef_create_operation'(_OE_2, "IDL:omg.org/CosEventDomainAdmin/EventDomain/get_diamonds:1.0", "get_diamonds", "1.0", orber_ifr:'Repository_create_idltype'(OE_IFR, {tk_sequence,
                                               {tk_sequence,
                                                {tk_sequence,tk_long,0},
                                                0},
                                               0}), 'OP_NORMAL', [], [], []),

    orber_ifr:'InterfaceDef_create_operation'(_OE_2, "IDL:omg.org/CosEventDomainAdmin/EventDomain/set_default_consumer_channel:1.0", "set_default_consumer_channel", "1.0", orber_ifr:'Repository_create_idltype'(OE_IFR, tk_void), 'OP_NORMAL', [#parameterdescription{name="channel", type=tk_long, type_def=orber_ifr:'Repository_create_idltype'(OE_IFR, tk_long), mode='PARAM_IN'}
], [orber_ifr:lookup_id(OE_IFR,"IDL:omg.org/CosNotifyChannelAdmin/ChannelNotFound:1.0")], []),

    orber_ifr:'InterfaceDef_create_operation'(_OE_2, "IDL:omg.org/CosEventDomainAdmin/EventDomain/set_default_supplier_channel:1.0", "set_default_supplier_channel", "1.0", orber_ifr:'Repository_create_idltype'(OE_IFR, tk_void), 'OP_NORMAL', [#parameterdescription{name="channel", type=tk_long, type_def=orber_ifr:'Repository_create_idltype'(OE_IFR, tk_long), mode='PARAM_IN'}
], [orber_ifr:lookup_id(OE_IFR,"IDL:omg.org/CosNotifyChannelAdmin/ChannelNotFound:1.0")], []),

    orber_ifr:'InterfaceDef_create_operation'(_OE_2, "IDL:omg.org/CosEventDomainAdmin/EventDomain/connect_push_consumer:1.0", "connect_push_consumer", "1.0", orber_ifr:'Repository_create_idltype'(OE_IFR, {tk_objref,
                                               "IDL:omg.org/CosNotifyChannelAdmin/ProxyPushSupplier:1.0",
                                               "ProxyPushSupplier"}), 'OP_NORMAL', [#parameterdescription{name="client", type={tk_objref,
                                           "IDL:omg.org/CosEventComm/PushConsumer:1.0",
                                           "PushConsumer"}, type_def=orber_ifr:'Repository_create_idltype'(OE_IFR, {tk_objref,
                                               "IDL:omg.org/CosEventComm/PushConsumer:1.0",
                                               "PushConsumer"}), mode='PARAM_IN'}
], [orber_ifr:lookup_id(OE_IFR,"IDL:omg.org/CosNotifyChannelAdmin/ChannelNotFound:1.0")], []),

    orber_ifr:'InterfaceDef_create_operation'(_OE_2, "IDL:omg.org/CosEventDomainAdmin/EventDomain/connect_pull_consumer:1.0", "connect_pull_consumer", "1.0", orber_ifr:'Repository_create_idltype'(OE_IFR, {tk_objref,
                                               "IDL:omg.org/CosNotifyChannelAdmin/ProxyPullSupplier:1.0",
                                               "ProxyPullSupplier"}), 'OP_NORMAL', [#parameterdescription{name="client", type={tk_objref,
                                           "IDL:omg.org/CosEventComm/PullConsumer:1.0",
                                           "PullConsumer"}, type_def=orber_ifr:'Repository_create_idltype'(OE_IFR, {tk_objref,
                                               "IDL:omg.org/CosEventComm/PullConsumer:1.0",
                                               "PullConsumer"}), mode='PARAM_IN'}
], [orber_ifr:lookup_id(OE_IFR,"IDL:omg.org/CosNotifyChannelAdmin/ChannelNotFound:1.0")], []),

    orber_ifr:'InterfaceDef_create_operation'(_OE_2, "IDL:omg.org/CosEventDomainAdmin/EventDomain/connect_push_supplier:1.0", "connect_push_supplier", "1.0", orber_ifr:'Repository_create_idltype'(OE_IFR, {tk_objref,
                                               "IDL:omg.org/CosNotifyChannelAdmin/ProxyPushConsumer:1.0",
                                               "ProxyPushConsumer"}), 'OP_NORMAL', [#parameterdescription{name="client", type={tk_objref,
                                           "IDL:omg.org/CosEventComm/PushSupplier:1.0",
                                           "PushSupplier"}, type_def=orber_ifr:'Repository_create_idltype'(OE_IFR, {tk_objref,
                                               "IDL:omg.org/CosEventComm/PushSupplier:1.0",
                                               "PushSupplier"}), mode='PARAM_IN'}
], [orber_ifr:lookup_id(OE_IFR,"IDL:omg.org/CosNotifyChannelAdmin/ChannelNotFound:1.0")], []),

    orber_ifr:'InterfaceDef_create_operation'(_OE_2, "IDL:omg.org/CosEventDomainAdmin/EventDomain/connect_pull_supplier:1.0", "connect_pull_supplier", "1.0", orber_ifr:'Repository_create_idltype'(OE_IFR, {tk_objref,
                                               "IDL:omg.org/CosNotifyChannelAdmin/ProxyPullConsumer:1.0",
                                               "ProxyPullConsumer"}), 'OP_NORMAL', [#parameterdescription{name="client", type={tk_objref,
                                           "IDL:omg.org/CosEventComm/PullSupplier:1.0",
                                           "PullSupplier"}, type_def=orber_ifr:'Repository_create_idltype'(OE_IFR, {tk_objref,
                                               "IDL:omg.org/CosEventComm/PullSupplier:1.0",
                                               "PullSupplier"}), mode='PARAM_IN'}
], [orber_ifr:lookup_id(OE_IFR,"IDL:omg.org/CosNotifyChannelAdmin/ChannelNotFound:1.0")], []),

    orber_ifr:'InterfaceDef_create_operation'(_OE_2, "IDL:omg.org/CosEventDomainAdmin/EventDomain/connect_structured_push_consumer:1.0", "connect_structured_push_consumer", "1.0", orber_ifr:'Repository_create_idltype'(OE_IFR, {tk_objref,
                                               "IDL:omg.org/CosNotifyChannelAdmin/StructuredProxyPushSupplier:1.0",
                                               "StructuredProxyPushSupplier"}), 'OP_NORMAL', [#parameterdescription{name="client", type={tk_objref,
                                           "IDL:omg.org/CosNotifyComm/StructuredPushConsumer:1.0",
                                           "StructuredPushConsumer"}, type_def=orber_ifr:'Repository_create_idltype'(OE_IFR, {tk_objref,
                                               "IDL:omg.org/CosNotifyComm/StructuredPushConsumer:1.0",
                                               "StructuredPushConsumer"}), mode='PARAM_IN'}
], [orber_ifr:lookup_id(OE_IFR,"IDL:omg.org/CosNotifyChannelAdmin/ChannelNotFound:1.0")], []),

    orber_ifr:'InterfaceDef_create_operation'(_OE_2, "IDL:omg.org/CosEventDomainAdmin/EventDomain/connect_structured_pull_consumer:1.0", "connect_structured_pull_consumer", "1.0", orber_ifr:'Repository_create_idltype'(OE_IFR, {tk_objref,
                                               "IDL:omg.org/CosNotifyChannelAdmin/StructuredProxyPullSupplier:1.0",
                                               "StructuredProxyPullSupplier"}), 'OP_NORMAL', [#parameterdescription{name="client", type={tk_objref,
                                           "IDL:omg.org/CosNotifyComm/StructuredPullConsumer:1.0",
                                           "StructuredPullConsumer"}, type_def=orber_ifr:'Repository_create_idltype'(OE_IFR, {tk_objref,
                                               "IDL:omg.org/CosNotifyComm/StructuredPullConsumer:1.0",
                                               "StructuredPullConsumer"}), mode='PARAM_IN'}
], [orber_ifr:lookup_id(OE_IFR,"IDL:omg.org/CosNotifyChannelAdmin/ChannelNotFound:1.0")], []),

    orber_ifr:'InterfaceDef_create_operation'(_OE_2, "IDL:omg.org/CosEventDomainAdmin/EventDomain/connect_structured_push_supplier:1.0", "connect_structured_push_supplier", "1.0", orber_ifr:'Repository_create_idltype'(OE_IFR, {tk_objref,
                                               "IDL:omg.org/CosNotifyChannelAdmin/StructuredProxyPushConsumer:1.0",
                                               "StructuredProxyPushConsumer"}), 'OP_NORMAL', [#parameterdescription{name="client", type={tk_objref,
                                           "IDL:omg.org/CosNotifyComm/StructuredPushSupplier:1.0",
                                           "StructuredPushSupplier"}, type_def=orber_ifr:'Repository_create_idltype'(OE_IFR, {tk_objref,
                                               "IDL:omg.org/CosNotifyComm/StructuredPushSupplier:1.0",
                                               "StructuredPushSupplier"}), mode='PARAM_IN'}
], [orber_ifr:lookup_id(OE_IFR,"IDL:omg.org/CosNotifyChannelAdmin/ChannelNotFound:1.0")], []),

    orber_ifr:'InterfaceDef_create_operation'(_OE_2, "IDL:omg.org/CosEventDomainAdmin/EventDomain/connect_structured_pull_supplier:1.0", "connect_structured_pull_supplier", "1.0", orber_ifr:'Repository_create_idltype'(OE_IFR, {tk_objref,
                                               "IDL:omg.org/CosNotifyChannelAdmin/StructuredProxyPullConsumer:1.0",
                                               "StructuredProxyPullConsumer"}), 'OP_NORMAL', [#parameterdescription{name="client", type={tk_objref,
                                           "IDL:omg.org/CosNotifyComm/StructuredPullSupplier:1.0",
                                           "StructuredPullSupplier"}, type_def=orber_ifr:'Repository_create_idltype'(OE_IFR, {tk_objref,
                                               "IDL:omg.org/CosNotifyComm/StructuredPullSupplier:1.0",
                                               "StructuredPullSupplier"}), mode='PARAM_IN'}
], [orber_ifr:lookup_id(OE_IFR,"IDL:omg.org/CosNotifyChannelAdmin/ChannelNotFound:1.0")], []),

    orber_ifr:'InterfaceDef_create_operation'(_OE_2, "IDL:omg.org/CosEventDomainAdmin/EventDomain/connect_sequence_push_consumer:1.0", "connect_sequence_push_consumer", "1.0", orber_ifr:'Repository_create_idltype'(OE_IFR, {tk_objref,
                                               "IDL:omg.org/CosNotifyChannelAdmin/SequenceProxyPushSupplier:1.0",
                                               "SequenceProxyPushSupplier"}), 'OP_NORMAL', [#parameterdescription{name="client", type={tk_objref,
                                           "IDL:omg.org/CosNotifyComm/SequencePushConsumer:1.0",
                                           "SequencePushConsumer"}, type_def=orber_ifr:'Repository_create_idltype'(OE_IFR, {tk_objref,
                                               "IDL:omg.org/CosNotifyComm/SequencePushConsumer:1.0",
                                               "SequencePushConsumer"}), mode='PARAM_IN'}
], [orber_ifr:lookup_id(OE_IFR,"IDL:omg.org/CosNotifyChannelAdmin/ChannelNotFound:1.0")], []),

    orber_ifr:'InterfaceDef_create_operation'(_OE_2, "IDL:omg.org/CosEventDomainAdmin/EventDomain/connect_sequence_pull_consumer:1.0", "connect_sequence_pull_consumer", "1.0", orber_ifr:'Repository_create_idltype'(OE_IFR, {tk_objref,
                                               "IDL:omg.org/CosNotifyChannelAdmin/SequenceProxyPullSupplier:1.0",
                                               "SequenceProxyPullSupplier"}), 'OP_NORMAL', [#parameterdescription{name="client", type={tk_objref,
                                           "IDL:omg.org/CosNotifyComm/SequencePullConsumer:1.0",
                                           "SequencePullConsumer"}, type_def=orber_ifr:'Repository_create_idltype'(OE_IFR, {tk_objref,
                                               "IDL:omg.org/CosNotifyComm/SequencePullConsumer:1.0",
                                               "SequencePullConsumer"}), mode='PARAM_IN'}
], [orber_ifr:lookup_id(OE_IFR,"IDL:omg.org/CosNotifyChannelAdmin/ChannelNotFound:1.0")], []),

    orber_ifr:'InterfaceDef_create_operation'(_OE_2, "IDL:omg.org/CosEventDomainAdmin/EventDomain/connect_sequence_push_supplier:1.0", "connect_sequence_push_supplier", "1.0", orber_ifr:'Repository_create_idltype'(OE_IFR, {tk_objref,
                                               "IDL:omg.org/CosNotifyChannelAdmin/SequenceProxyPushConsumer:1.0",
                                               "SequenceProxyPushConsumer"}), 'OP_NORMAL', [#parameterdescription{name="client", type={tk_objref,
                                           "IDL:omg.org/CosNotifyComm/SequencePushSupplier:1.0",
                                           "SequencePushSupplier"}, type_def=orber_ifr:'Repository_create_idltype'(OE_IFR, {tk_objref,
                                               "IDL:omg.org/CosNotifyComm/SequencePushSupplier:1.0",
                                               "SequencePushSupplier"}), mode='PARAM_IN'}
], [orber_ifr:lookup_id(OE_IFR,"IDL:omg.org/CosNotifyChannelAdmin/ChannelNotFound:1.0")], []),

    orber_ifr:'InterfaceDef_create_operation'(_OE_2, "IDL:omg.org/CosEventDomainAdmin/EventDomain/connect_sequence_pull_supplier:1.0", "connect_sequence_pull_supplier", "1.0", orber_ifr:'Repository_create_idltype'(OE_IFR, {tk_objref,
                                               "IDL:omg.org/CosNotifyChannelAdmin/SequenceProxyPullConsumer:1.0",
                                               "SequenceProxyPullConsumer"}), 'OP_NORMAL', [#parameterdescription{name="client", type={tk_objref,
                                           "IDL:omg.org/CosNotifyComm/SequencePullSupplier:1.0",
                                           "SequencePullSupplier"}, type_def=orber_ifr:'Repository_create_idltype'(OE_IFR, {tk_objref,
                                               "IDL:omg.org/CosNotifyComm/SequencePullSupplier:1.0",
                                               "SequencePullSupplier"}), mode='PARAM_IN'}
], [orber_ifr:lookup_id(OE_IFR,"IDL:omg.org/CosNotifyChannelAdmin/ChannelNotFound:1.0")], []),

    orber_ifr:'InterfaceDef_create_operation'(_OE_2, "IDL:omg.org/CosEventDomainAdmin/EventDomain/connect_push_consumer_with_id:1.0", "connect_push_consumer_with_id", "1.0", orber_ifr:'Repository_create_idltype'(OE_IFR, {tk_objref,
                                               "IDL:omg.org/CosNotifyChannelAdmin/ProxyPushSupplier:1.0",
                                               "ProxyPushSupplier"}), 'OP_NORMAL', [#parameterdescription{name="channel", type=tk_long, type_def=orber_ifr:'Repository_create_idltype'(OE_IFR, tk_long), mode='PARAM_IN'}
, #parameterdescription{name="client", type={tk_objref,
                                           "IDL:omg.org/CosEventComm/PushConsumer:1.0",
                                           "PushConsumer"}, type_def=orber_ifr:'Repository_create_idltype'(OE_IFR, {tk_objref,
                                               "IDL:omg.org/CosEventComm/PushConsumer:1.0",
                                               "PushConsumer"}), mode='PARAM_IN'}
], [orber_ifr:lookup_id(OE_IFR,"IDL:omg.org/CosNotifyChannelAdmin/ChannelNotFound:1.0")], []),

    orber_ifr:'InterfaceDef_create_operation'(_OE_2, "IDL:omg.org/CosEventDomainAdmin/EventDomain/connect_pull_consumer_with_id:1.0", "connect_pull_consumer_with_id", "1.0", orber_ifr:'Repository_create_idltype'(OE_IFR, {tk_objref,
                                               "IDL:omg.org/CosNotifyChannelAdmin/ProxyPullSupplier:1.0",
                                               "ProxyPullSupplier"}), 'OP_NORMAL', [#parameterdescription{name="channel", type=tk_long, type_def=orber_ifr:'Repository_create_idltype'(OE_IFR, tk_long), mode='PARAM_IN'}
, #parameterdescription{name="client", type={tk_objref,
                                           "IDL:omg.org/CosEventComm/PullConsumer:1.0",
                                           "PullConsumer"}, type_def=orber_ifr:'Repository_create_idltype'(OE_IFR, {tk_objref,
                                               "IDL:omg.org/CosEventComm/PullConsumer:1.0",
                                               "PullConsumer"}), mode='PARAM_IN'}
], [orber_ifr:lookup_id(OE_IFR,"IDL:omg.org/CosNotifyChannelAdmin/ChannelNotFound:1.0")], []),

    orber_ifr:'InterfaceDef_create_operation'(_OE_2, "IDL:omg.org/CosEventDomainAdmin/EventDomain/connect_push_supplier_with_id:1.0", "connect_push_supplier_with_id", "1.0", orber_ifr:'Repository_create_idltype'(OE_IFR, {tk_objref,
                                               "IDL:omg.org/CosNotifyChannelAdmin/ProxyPushConsumer:1.0",
                                               "ProxyPushConsumer"}), 'OP_NORMAL', [#parameterdescription{name="channel", type=tk_long, type_def=orber_ifr:'Repository_create_idltype'(OE_IFR, tk_long), mode='PARAM_IN'}
, #parameterdescription{name="client", type={tk_objref,
                                           "IDL:omg.org/CosEventComm/PushSupplier:1.0",
                                           "PushSupplier"}, type_def=orber_ifr:'Repository_create_idltype'(OE_IFR, {tk_objref,
                                               "IDL:omg.org/CosEventComm/PushSupplier:1.0",
                                               "PushSupplier"}), mode='PARAM_IN'}
], [orber_ifr:lookup_id(OE_IFR,"IDL:omg.org/CosNotifyChannelAdmin/ChannelNotFound:1.0")], []),

    orber_ifr:'InterfaceDef_create_operation'(_OE_2, "IDL:omg.org/CosEventDomainAdmin/EventDomain/connect_pull_supplier_with_id:1.0", "connect_pull_supplier_with_id", "1.0", orber_ifr:'Repository_create_idltype'(OE_IFR, {tk_objref,
                                               "IDL:omg.org/CosNotifyChannelAdmin/ProxyPullConsumer:1.0",
                                               "ProxyPullConsumer"}), 'OP_NORMAL', [#parameterdescription{name="channel", type=tk_long, type_def=orber_ifr:'Repository_create_idltype'(OE_IFR, tk_long), mode='PARAM_IN'}
, #parameterdescription{name="client", type={tk_objref,
                                           "IDL:omg.org/CosEventComm/PullSupplier:1.0",
                                           "PullSupplier"}, type_def=orber_ifr:'Repository_create_idltype'(OE_IFR, {tk_objref,
                                               "IDL:omg.org/CosEventComm/PullSupplier:1.0",
                                               "PullSupplier"}), mode='PARAM_IN'}
], [orber_ifr:lookup_id(OE_IFR,"IDL:omg.org/CosNotifyChannelAdmin/ChannelNotFound:1.0")], []),

    orber_ifr:'InterfaceDef_create_operation'(_OE_2, "IDL:omg.org/CosEventDomainAdmin/EventDomain/connect_structured_push_consumer_with_id:1.0", "connect_structured_push_consumer_with_id", "1.0", orber_ifr:'Repository_create_idltype'(OE_IFR, {tk_objref,
                                               "IDL:omg.org/CosNotifyChannelAdmin/StructuredProxyPushSupplier:1.0",
                                               "StructuredProxyPushSupplier"}), 'OP_NORMAL', [#parameterdescription{name="channel", type=tk_long, type_def=orber_ifr:'Repository_create_idltype'(OE_IFR, tk_long), mode='PARAM_IN'}
, #parameterdescription{name="client", type={tk_objref,
                                           "IDL:omg.org/CosNotifyComm/StructuredPushConsumer:1.0",
                                           "StructuredPushConsumer"}, type_def=orber_ifr:'Repository_create_idltype'(OE_IFR, {tk_objref,
                                               "IDL:omg.org/CosNotifyComm/StructuredPushConsumer:1.0",
                                               "StructuredPushConsumer"}), mode='PARAM_IN'}
], [orber_ifr:lookup_id(OE_IFR,"IDL:omg.org/CosNotifyChannelAdmin/ChannelNotFound:1.0")], []),

    orber_ifr:'InterfaceDef_create_operation'(_OE_2, "IDL:omg.org/CosEventDomainAdmin/EventDomain/connect_structured_pull_consumer_with_id:1.0", "connect_structured_pull_consumer_with_id", "1.0", orber_ifr:'Repository_create_idltype'(OE_IFR, {tk_objref,
                                               "IDL:omg.org/CosNotifyChannelAdmin/StructuredProxyPullSupplier:1.0",
                                               "StructuredProxyPullSupplier"}), 'OP_NORMAL', [#parameterdescription{name="channel", type=tk_long, type_def=orber_ifr:'Repository_create_idltype'(OE_IFR, tk_long), mode='PARAM_IN'}
, #parameterdescription{name="client", type={tk_objref,
                                           "IDL:omg.org/CosNotifyComm/StructuredPullConsumer:1.0",
                                           "StructuredPullConsumer"}, type_def=orber_ifr:'Repository_create_idltype'(OE_IFR, {tk_objref,
                                               "IDL:omg.org/CosNotifyComm/StructuredPullConsumer:1.0",
                                               "StructuredPullConsumer"}), mode='PARAM_IN'}
], [orber_ifr:lookup_id(OE_IFR,"IDL:omg.org/CosNotifyChannelAdmin/ChannelNotFound:1.0")], []),

    orber_ifr:'InterfaceDef_create_operation'(_OE_2, "IDL:omg.org/CosEventDomainAdmin/EventDomain/connect_structured_push_supplier_with_id:1.0", "connect_structured_push_supplier_with_id", "1.0", orber_ifr:'Repository_create_idltype'(OE_IFR, {tk_objref,
                                               "IDL:omg.org/CosNotifyChannelAdmin/StructuredProxyPushConsumer:1.0",
                                               "StructuredProxyPushConsumer"}), 'OP_NORMAL', [#parameterdescription{name="channel", type=tk_long, type_def=orber_ifr:'Repository_create_idltype'(OE_IFR, tk_long), mode='PARAM_IN'}
, #parameterdescription{name="client", type={tk_objref,
                                           "IDL:omg.org/CosNotifyComm/StructuredPushSupplier:1.0",
                                           "StructuredPushSupplier"}, type_def=orber_ifr:'Repository_create_idltype'(OE_IFR, {tk_objref,
                                               "IDL:omg.org/CosNotifyComm/StructuredPushSupplier:1.0",
                                               "StructuredPushSupplier"}), mode='PARAM_IN'}
], [orber_ifr:lookup_id(OE_IFR,"IDL:omg.org/CosNotifyChannelAdmin/ChannelNotFound:1.0")], []),

    orber_ifr:'InterfaceDef_create_operation'(_OE_2, "IDL:omg.org/CosEventDomainAdmin/EventDomain/connect_structured_pull_supplier_with_id:1.0", "connect_structured_pull_supplier_with_id", "1.0", orber_ifr:'Repository_create_idltype'(OE_IFR, {tk_objref,
                                               "IDL:omg.org/CosNotifyChannelAdmin/StructuredProxyPullConsumer:1.0",
                                               "StructuredProxyPullConsumer"}), 'OP_NORMAL', [#parameterdescription{name="channel", type=tk_long, type_def=orber_ifr:'Repository_create_idltype'(OE_IFR, tk_long), mode='PARAM_IN'}
, #parameterdescription{name="client", type={tk_objref,
                                           "IDL:omg.org/CosNotifyComm/StructuredPullSupplier:1.0",
                                           "StructuredPullSupplier"}, type_def=orber_ifr:'Repository_create_idltype'(OE_IFR, {tk_objref,
                                               "IDL:omg.org/CosNotifyComm/StructuredPullSupplier:1.0",
                                               "StructuredPullSupplier"}), mode='PARAM_IN'}
], [orber_ifr:lookup_id(OE_IFR,"IDL:omg.org/CosNotifyChannelAdmin/ChannelNotFound:1.0")], []),

    orber_ifr:'InterfaceDef_create_operation'(_OE_2, "IDL:omg.org/CosEventDomainAdmin/EventDomain/connect_sequence_push_consumer_with_id:1.0", "connect_sequence_push_consumer_with_id", "1.0", orber_ifr:'Repository_create_idltype'(OE_IFR, {tk_objref,
                                               "IDL:omg.org/CosNotifyChannelAdmin/SequenceProxyPushSupplier:1.0",
                                               "SequenceProxyPushSupplier"}), 'OP_NORMAL', [#parameterdescription{name="channel", type=tk_long, type_def=orber_ifr:'Repository_create_idltype'(OE_IFR, tk_long), mode='PARAM_IN'}
, #parameterdescription{name="client", type={tk_objref,
                                           "IDL:omg.org/CosNotifyComm/SequencePushConsumer:1.0",
                                           "SequencePushConsumer"}, type_def=orber_ifr:'Repository_create_idltype'(OE_IFR, {tk_objref,
                                               "IDL:omg.org/CosNotifyComm/SequencePushConsumer:1.0",
                                               "SequencePushConsumer"}), mode='PARAM_IN'}
], [orber_ifr:lookup_id(OE_IFR,"IDL:omg.org/CosNotifyChannelAdmin/ChannelNotFound:1.0")], []),

    orber_ifr:'InterfaceDef_create_operation'(_OE_2, "IDL:omg.org/CosEventDomainAdmin/EventDomain/connect_sequence_pull_consumer_with_id:1.0", "connect_sequence_pull_consumer_with_id", "1.0", orber_ifr:'Repository_create_idltype'(OE_IFR, {tk_objref,
                                               "IDL:omg.org/CosNotifyChannelAdmin/SequenceProxyPullSupplier:1.0",
                                               "SequenceProxyPullSupplier"}), 'OP_NORMAL', [#parameterdescription{name="channel", type=tk_long, type_def=orber_ifr:'Repository_create_idltype'(OE_IFR, tk_long), mode='PARAM_IN'}
, #parameterdescription{name="client", type={tk_objref,
                                           "IDL:omg.org/CosNotifyComm/SequencePullConsumer:1.0",
                                           "SequencePullConsumer"}, type_def=orber_ifr:'Repository_create_idltype'(OE_IFR, {tk_objref,
                                               "IDL:omg.org/CosNotifyComm/SequencePullConsumer:1.0",
                                               "SequencePullConsumer"}), mode='PARAM_IN'}
], [orber_ifr:lookup_id(OE_IFR,"IDL:omg.org/CosNotifyChannelAdmin/ChannelNotFound:1.0")], []),

    orber_ifr:'InterfaceDef_create_operation'(_OE_2, "IDL:omg.org/CosEventDomainAdmin/EventDomain/connect_sequence_push_supplier_with_id:1.0", "connect_sequence_push_supplier_with_id", "1.0", orber_ifr:'Repository_create_idltype'(OE_IFR, {tk_objref,
                                               "IDL:omg.org/CosNotifyChannelAdmin/SequenceProxyPushConsumer:1.0",
                                               "SequenceProxyPushConsumer"}), 'OP_NORMAL', [#parameterdescription{name="channel", type=tk_long, type_def=orber_ifr:'Repository_create_idltype'(OE_IFR, tk_long), mode='PARAM_IN'}
, #parameterdescription{name="client", type={tk_objref,
                                           "IDL:omg.org/CosNotifyComm/SequencePushSupplier:1.0",
                                           "SequencePushSupplier"}, type_def=orber_ifr:'Repository_create_idltype'(OE_IFR, {tk_objref,
                                               "IDL:omg.org/CosNotifyComm/SequencePushSupplier:1.0",
                                               "SequencePushSupplier"}), mode='PARAM_IN'}
], [orber_ifr:lookup_id(OE_IFR,"IDL:omg.org/CosNotifyChannelAdmin/ChannelNotFound:1.0")], []),

    orber_ifr:'InterfaceDef_create_operation'(_OE_2, "IDL:omg.org/CosEventDomainAdmin/EventDomain/connect_sequence_pull_supplier_with_id:1.0", "connect_sequence_pull_supplier_with_id", "1.0", orber_ifr:'Repository_create_idltype'(OE_IFR, {tk_objref,
                                               "IDL:omg.org/CosNotifyChannelAdmin/SequenceProxyPullConsumer:1.0",
                                               "SequenceProxyPullConsumer"}), 'OP_NORMAL', [#parameterdescription{name="channel", type=tk_long, type_def=orber_ifr:'Repository_create_idltype'(OE_IFR, tk_long), mode='PARAM_IN'}
, #parameterdescription{name="client", type={tk_objref,
                                           "IDL:omg.org/CosNotifyComm/SequencePullSupplier:1.0",
                                           "SequencePullSupplier"}, type_def=orber_ifr:'Repository_create_idltype'(OE_IFR, {tk_objref,
                                               "IDL:omg.org/CosNotifyComm/SequencePullSupplier:1.0",
                                               "SequencePullSupplier"}), mode='PARAM_IN'}
], [orber_ifr:lookup_id(OE_IFR,"IDL:omg.org/CosNotifyChannelAdmin/ChannelNotFound:1.0")], []),

    orber_ifr:'ModuleDef_create_exception'(_OE_1, "IDL:omg.org/CosEventDomainAdmin/DomainNotFound:1.0", "DomainNotFound", "1.0", []),

    _OE_3 = orber_ifr:'ModuleDef_create_interface'(_OE_1, "IDL:omg.org/CosEventDomainAdmin/EventDomainFactory:1.0", "EventDomainFactory", "1.0", []),

    orber_ifr:'InterfaceDef_create_operation'(_OE_3, "IDL:omg.org/CosEventDomainAdmin/EventDomainFactory/create_event_domain:1.0", "create_event_domain", "1.0", orber_ifr:'Repository_create_idltype'(OE_IFR, {tk_objref,
                                               "IDL:omg.org/CosEventDomainAdmin/EventDomain:1.0",
                                               "EventDomain"}), 'OP_NORMAL', [#parameterdescription{name="id", type=tk_long, type_def=orber_ifr:'Repository_create_idltype'(OE_IFR, tk_long), mode='PARAM_OUT'}
, #parameterdescription{name="initialAdmin", type={tk_sequence,
                                                 {tk_struct,
                                                  "IDL:omg.org/CosNotification/Property:1.0",
                                                  "Property",
                                                  [{"name",{tk_string,0}},
                                                   {"value",tk_any}]},
                                                 0}, type_def=orber_ifr:'Repository_create_idltype'(OE_IFR, {tk_sequence,
                                               {tk_struct,
                                                "IDL:omg.org/CosNotification/Property:1.0",
                                                "Property",
                                                [{"name",{tk_string,0}},
                                                 {"value",tk_any}]},
                                               0}), mode='PARAM_IN'}
, #parameterdescription{name="initialQoS", type={tk_sequence,
                                               {tk_struct,
                                                "IDL:omg.org/CosNotification/Property:1.0",
                                                "Property",
                                                [{"name",{tk_string,0}},
                                                 {"value",tk_any}]},
                                               0}, type_def=orber_ifr:'Repository_create_idltype'(OE_IFR, {tk_sequence,
                                               {tk_struct,
                                                "IDL:omg.org/CosNotification/Property:1.0",
                                                "Property",
                                                [{"name",{tk_string,0}},
                                                 {"value",tk_any}]},
                                               0}), mode='PARAM_IN'}
], [orber_ifr:lookup_id(OE_IFR,"IDL:omg.org/CosNotification/UnsupportedAdmin:1.0"), orber_ifr:lookup_id(OE_IFR,"IDL:omg.org/CosNotification/UnsupportedQoS:1.0")], []),

    orber_ifr:'InterfaceDef_create_operation'(_OE_3, "IDL:omg.org/CosEventDomainAdmin/EventDomainFactory/get_all_domains:1.0", "get_all_domains", "1.0", orber_ifr:'Repository_create_idltype'(OE_IFR, {tk_sequence,tk_long,0}), 'OP_NORMAL', [], [], []),

    orber_ifr:'InterfaceDef_create_operation'(_OE_3, "IDL:omg.org/CosEventDomainAdmin/EventDomainFactory/get_event_domain:1.0", "get_event_domain", "1.0", orber_ifr:'Repository_create_idltype'(OE_IFR, {tk_objref,
                                               "IDL:omg.org/CosEventDomainAdmin/EventDomain:1.0",
                                               "EventDomain"}), 'OP_NORMAL', [#parameterdescription{name="id", type=tk_long, type_def=orber_ifr:'Repository_create_idltype'(OE_IFR, tk_long), mode='PARAM_IN'}
], [orber_ifr:lookup_id(OE_IFR,"IDL:omg.org/CosEventDomainAdmin/DomainNotFound:1.0")], []),

    ok.


%% General IFR registration checks.
register_tests(OE_IFR)->
  re_register_test(OE_IFR),
  include_reg_test(OE_IFR).


%% IFR type Re-registration checks.
re_register_test(OE_IFR)->
  case orber_ifr:'Repository_lookup_id'(OE_IFR,"IDL:omg.org/CosEventDomainAdmin/CycleDetection:1.0") of
    []  ->
      true;
    _ ->
      exit({allready_registered,"IDL:omg.org/CosEventDomainAdmin/CycleDetection:1.0"})
 end.


%% IFR registration checks for included idl files.
include_reg_test(OE_IFR) ->
  case orber_ifr:'Repository_lookup_id'(OE_IFR,"IDL:omg.org/CosEventComm:1.0") of
    [] ->
      exit({unregistered,"IDL:omg.org/CosEventComm:1.0"});
    _  ->
      true
  end,
  case orber_ifr:'Repository_lookup_id'(OE_IFR,"IDL:omg.org/CosEventChannelAdmin:1.0") of
    [] ->
      exit({unregistered,"IDL:omg.org/CosEventChannelAdmin:1.0"});
    _  ->
      true
  end,
  case orber_ifr:'Repository_lookup_id'(OE_IFR,"IDL:omg.org/CosNotification:1.0") of
    [] ->
      exit({unregistered,"IDL:omg.org/CosNotification:1.0"});
    _  ->
      true
  end,
  case orber_ifr:'Repository_lookup_id'(OE_IFR,"IDL:omg.org/CosNotifyComm:1.0") of
    [] ->
      exit({unregistered,"IDL:omg.org/CosNotifyComm:1.0"});
    _  ->
      true
  end,
  case orber_ifr:'Repository_lookup_id'(OE_IFR,"IDL:oe_CosNotificationComm:1.0") of
    [] ->
      exit({unregistered,"IDL:oe_CosNotificationComm:1.0"});
    _  ->
      true
  end,
  case orber_ifr:'Repository_lookup_id'(OE_IFR,"IDL:omg.org/CosNotifyFilter:1.0") of
    [] ->
      exit({unregistered,"IDL:omg.org/CosNotifyFilter:1.0"});
    _  ->
      true
  end,
  case orber_ifr:'Repository_lookup_id'(OE_IFR,"IDL:omg.org/CosNotifyChannelAdmin:1.0") of
    [] ->
      exit({unregistered,"IDL:omg.org/CosNotifyChannelAdmin:1.0"});
    _  ->
      true
  end,
  true.


%% Fetch top module reference, register if unregistered.
oe_get_top_module(OE_IFR, ID, Name, Version) ->
  case orber_ifr:'Repository_lookup_id'(OE_IFR, ID) of
    [] ->
      orber_ifr:'Repository_create_module'(OE_IFR, ID, Name, Version);
    Mod  ->
      Mod
   end.

%% Fetch module reference, register if unregistered.
oe_get_module(OE_IFR, OE_Parent, ID, Name, Version) ->
  case orber_ifr:'Repository_lookup_id'(OE_IFR, ID) of
    [] ->
      orber_ifr:'ModuleDef_create_module'(OE_Parent, ID, Name, Version);
    Mod  ->
      Mod
   end.



oe_unregister() ->
    OE_IFR = orber_ifr:find_repository(),

    oe_destroy(OE_IFR, "IDL:omg.org/CosEventDomainAdmin/EventDomainFactory:1.0"),
    oe_destroy(OE_IFR, "IDL:omg.org/CosEventDomainAdmin/DomainNotFound:1.0"),
    oe_destroy(OE_IFR, "IDL:omg.org/CosEventDomainAdmin/EventDomain:1.0"),
    oe_destroy(OE_IFR, "IDL:omg.org/CosEventDomainAdmin/AlreadyExists:1.0"),
    oe_destroy(OE_IFR, "IDL:omg.org/CosEventDomainAdmin/ConnectionNotFound:1.0"),
    oe_destroy(OE_IFR, "IDL:omg.org/CosEventDomainAdmin/ItemID:1.0"),
    oe_destroy(OE_IFR, "IDL:omg.org/CosEventDomainAdmin/DomainIDSeq:1.0"),
    oe_destroy(OE_IFR, "IDL:omg.org/CosEventDomainAdmin/DomainID:1.0"),
    oe_destroy(OE_IFR, "IDL:omg.org/CosEventDomainAdmin/DiamondCreationForbidden:1.0"),
    oe_destroy(OE_IFR, "IDL:omg.org/CosEventDomainAdmin/CycleCreationForbidden:1.0"),
    oe_destroy(OE_IFR, "IDL:omg.org/CosEventDomainAdmin/DiamondSeq:1.0"),
    oe_destroy(OE_IFR, "IDL:omg.org/CosEventDomainAdmin/Diamond:1.0"),
    oe_destroy(OE_IFR, "IDL:omg.org/CosEventDomainAdmin/CycleSeq:1.0"),
    oe_destroy(OE_IFR, "IDL:omg.org/CosEventDomainAdmin/Cycle:1.0"),
    oe_destroy(OE_IFR, "IDL:omg.org/CosEventDomainAdmin/RouteSeq:1.0"),
    oe_destroy(OE_IFR, "IDL:omg.org/CosEventDomainAdmin/Route:1.0"),
    oe_destroy(OE_IFR, "IDL:omg.org/CosEventDomainAdmin/Connection:1.0"),
    oe_destroy(OE_IFR, "IDL:omg.org/CosEventDomainAdmin/ConnectionIDSeq:1.0"),
    oe_destroy(OE_IFR, "IDL:omg.org/CosEventDomainAdmin/ConnectionID:1.0"),
    oe_destroy(OE_IFR, "IDL:omg.org/CosEventDomainAdmin/MemberIDSeq:1.0"),
    oe_destroy(OE_IFR, "IDL:omg.org/CosEventDomainAdmin/MemberID:1.0"),
    oe_destroy(OE_IFR, "IDL:omg.org/CosEventDomainAdmin/NotificationStyle:1.0"),
    oe_destroy(OE_IFR, "IDL:omg.org/CosEventDomainAdmin/ChannelType:1.0"),
    oe_destroy(OE_IFR, "IDL:omg.org/CosEventDomainAdmin/ForbidDiamonds:1.0"),
    oe_destroy(OE_IFR, "IDL:omg.org/CosEventDomainAdmin/AuthorizeDiamonds:1.0"),
    oe_destroy(OE_IFR, "IDL:omg.org/CosEventDomainAdmin/DiamondDetection:1.0"),
    oe_destroy(OE_IFR, "IDL:omg.org/CosEventDomainAdmin/ForbidCycles:1.0"),
    oe_destroy(OE_IFR, "IDL:omg.org/CosEventDomainAdmin/AuthorizeCycles:1.0"),
    oe_destroy(OE_IFR, "IDL:omg.org/CosEventDomainAdmin/CycleDetection:1.0"),
    oe_destroy_if_empty(OE_IFR, "IDL:omg.org/CosEventDomainAdmin:1.0"),
    ok.


oe_destroy_if_empty(OE_IFR,IFR_ID) ->
    case orber_ifr:'Repository_lookup_id'(OE_IFR, IFR_ID) of
	[] ->
	    ok;
	Ref ->
	    case orber_ifr:contents(Ref, 'dk_All', 'true') of
		[] ->
		    orber_ifr:destroy(Ref),
		    ok;
		_ ->
		    ok
	    end
    end.

oe_destroy(OE_IFR,IFR_ID) ->
    case orber_ifr:'Repository_lookup_id'(OE_IFR, IFR_ID) of
	[] ->
	    ok;
	Ref ->
	    orber_ifr:destroy(Ref),
	    ok
    end.



%% Idl file dependency list function
oe_dependency() ->

    {"/ldisk/daily_build/otp_prebuild_r12b.2008-11-05_12/otp_src_R12B-5/lib/cosEventDomain/src/CosEventDomainAdmin.idl",
     ["/ldisk/daily_build/otp_prebuild_r12b.2008-11-05_12/otp_src_R12B-5/lib/cosEvent/src/CosEventComm.idl",
      "/ldisk/daily_build/otp_prebuild_r12b.2008-11-05_12/otp_src_R12B-5/lib/cosEvent/src/CosEventChannelAdmin.idl",
      "/ldisk/daily_build/otp_prebuild_r12b.2008-11-05_12/otp_src_R12B-5/lib/cosNotification/src/CosNotification.idl",
      "/ldisk/daily_build/otp_prebuild_r12b.2008-11-05_12/otp_src_R12B-5/lib/cosNotification/src/CosNotifyComm.idl",
      "/ldisk/daily_build/otp_prebuild_r12b.2008-11-05_12/otp_src_R12B-5/lib/cosNotification/src/cosNotificationAppComm.idl",
      "/ldisk/daily_build/otp_prebuild_r12b.2008-11-05_12/otp_src_R12B-5/lib/cosNotification/src/CosNotifyFilter.idl",
      "/ldisk/daily_build/otp_prebuild_r12b.2008-11-05_12/otp_src_R12B-5/lib/cosNotification/src/CosNotifyChannelAdmin.idl"]}.

