⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 consumerstubinterceptor.java

📁 直接放在eclipse环境下
💻 JAVA
📖 第 1 页 / 共 2 页
字号:
        try        {            return _delegate.get_all_facets();        }        finally        {            _cc_get_all_facets.postinvoke(ctx);        }    }        //    //  IDL:omg.org/Components/Navigation/get_named_facets:1.0    //    /**     **  Implementation of the ::Components::Navigation::get_named_facets operation.     **/    public org.omg.Components.FacetDescription[]    get_named_facets(java.lang.String[] names)    throws org.omg.Components.InvalidName    {        if (_cc_get_named_facets==null)            _cc_get_named_facets = _call_context().get_call_coordinator("get_named_facets");                 org.objectweb.openccm.Containers.CallContext ctx = _call_context().duplicate("get_named_facets");        _cc_get_named_facets.preinvoke(ctx);        try        {            return _delegate.get_named_facets(names);        }        finally        {            _cc_get_named_facets.postinvoke(ctx);        }    }        //    //  IDL:omg.org/Components/Navigation/same_component:1.0    //    /**     **  Implementation of the ::Components::Navigation::same_component operation.     **/    public boolean    same_component(org.omg.CORBA.Object object_ref)    {        if (_cc_same_component==null)            _cc_same_component = _call_context().get_call_coordinator("same_component");                 org.objectweb.openccm.Containers.CallContext ctx = _call_context().duplicate("same_component");        _cc_same_component.preinvoke(ctx);        try        {            return _delegate.same_component(object_ref);        }        finally        {            _cc_same_component.postinvoke(ctx);        }    }        //    //  IDL:omg.org/Components/Receptacles/connect:1.0    //    /**     **  Implementation of the ::Components::Receptacles::connect operation.     **/    public org.omg.Components.Cookie    connect(java.lang.String name, org.omg.CORBA.Object connection)    throws org.omg.Components.InvalidName, org.omg.Components.InvalidConnection, org.omg.Components.AlreadyConnected, org.omg.Components.ExceededConnectionLimit    {        if (_cc_connect==null)            _cc_connect = _call_context().get_call_coordinator("connect");                 org.objectweb.openccm.Containers.CallContext ctx = _call_context().duplicate("connect");        _cc_connect.preinvoke(ctx);        try        {            return _delegate.connect(name, connection);        }        finally        {            _cc_connect.postinvoke(ctx);        }    }        //    //  IDL:omg.org/Components/Receptacles/disconnect:1.0    //    /**     **  Implementation of the ::Components::Receptacles::disconnect operation.     **/    public org.omg.CORBA.Object    disconnect(java.lang.String name, org.omg.Components.Cookie ck)    throws org.omg.Components.InvalidName, org.omg.Components.InvalidConnection, org.omg.Components.CookieRequired, org.omg.Components.NoConnection    {        if (_cc_disconnect==null)            _cc_disconnect = _call_context().get_call_coordinator("disconnect");                 org.objectweb.openccm.Containers.CallContext ctx = _call_context().duplicate("disconnect");        _cc_disconnect.preinvoke(ctx);        try        {            return _delegate.disconnect(name, ck);        }        finally        {            _cc_disconnect.postinvoke(ctx);        }    }        //    //  IDL:omg.org/Components/Receptacles/get_connections:1.0    //    /**     **  Implementation of the ::Components::Receptacles::get_connections operation.     **/    public org.omg.Components.ConnectionDescription[]    get_connections(java.lang.String name)    throws org.omg.Components.InvalidName    {        if (_cc_get_connections==null)            _cc_get_connections = _call_context().get_call_coordinator("get_connections");                 org.objectweb.openccm.Containers.CallContext ctx = _call_context().duplicate("get_connections");        _cc_get_connections.preinvoke(ctx);        try        {            return _delegate.get_connections(name);        }        finally        {            _cc_get_connections.postinvoke(ctx);        }    }        //    //  IDL:omg.org/Components/Receptacles/get_all_receptacles:1.0    //    /**     **  Implementation of the ::Components::Receptacles::get_all_receptacles operation.     **/    public org.omg.Components.ReceptacleDescription[]    get_all_receptacles()    {        if (_cc_get_all_receptacles==null)            _cc_get_all_receptacles = _call_context().get_call_coordinator("get_all_receptacles");                 org.objectweb.openccm.Containers.CallContext ctx = _call_context().duplicate("get_all_receptacles");        _cc_get_all_receptacles.preinvoke(ctx);        try        {            return _delegate.get_all_receptacles();        }        finally        {            _cc_get_all_receptacles.postinvoke(ctx);        }    }        //    //  IDL:omg.org/Components/Receptacles/get_named_receptacles:1.0    //    /**     **  Implementation of the ::Components::Receptacles::get_named_receptacles operation.     **/    public org.omg.Components.ReceptacleDescription[]    get_named_receptacles(java.lang.String[] names)    throws org.omg.Components.InvalidName    {        if (_cc_get_named_receptacles==null)            _cc_get_named_receptacles = _call_context().get_call_coordinator("get_named_receptacles");                 org.objectweb.openccm.Containers.CallContext ctx = _call_context().duplicate("get_named_receptacles");        _cc_get_named_receptacles.preinvoke(ctx);        try        {            return _delegate.get_named_receptacles(names);        }        finally        {            _cc_get_named_receptacles.postinvoke(ctx);        }    }        //    //  IDL:omg.org/Components/Events/get_consumer:1.0    //    /**     **  Implementation of the ::Components::Events::get_consumer operation.     **/    public org.omg.Components.EventConsumerBase    get_consumer(java.lang.String sink_name)    throws org.omg.Components.InvalidName    {        if (_cc_get_consumer==null)            _cc_get_consumer = _call_context().get_call_coordinator("get_consumer");                 org.objectweb.openccm.Containers.CallContext ctx = _call_context().duplicate("get_consumer");        _cc_get_consumer.preinvoke(ctx);        try        {            return _delegate.get_consumer(sink_name);        }        finally        {            _cc_get_consumer.postinvoke(ctx);        }    }        //    //  IDL:omg.org/Components/Events/subscribe:1.0    //    /**     **  Implementation of the ::Components::Events::subscribe operation.     **/    public org.omg.Components.Cookie    subscribe(java.lang.String publisher_name, org.omg.Components.EventConsumerBase subscriber)    throws org.omg.Components.InvalidName, org.omg.Components.InvalidConnection, org.omg.Components.ExceededConnectionLimit    {        if (_cc_subscribe==null)            _cc_subscribe = _call_context().get_call_coordinator("subscribe");                 org.objectweb.openccm.Containers.CallContext ctx = _call_context().duplicate("subscribe");        _cc_subscribe.preinvoke(ctx);        try        {            return _delegate.subscribe(publisher_name, subscriber);        }        finally        {            _cc_subscribe.postinvoke(ctx);        }    }        //    //  IDL:omg.org/Components/Events/unsubscribe:1.0    //    /**     **  Implementation of the ::Components::Events::unsubscribe operation.     **/    public org.omg.Components.EventConsumerBase    unsubscribe(java.lang.String publisher_name, org.omg.Components.Cookie ck)    throws org.omg.Components.InvalidName, org.omg.Components.InvalidConnection    {        if (_cc_unsubscribe==null)            _cc_unsubscribe = _call_context().get_call_coordinator("unsubscribe");                 org.objectweb.openccm.Containers.CallContext ctx = _call_context().duplicate("unsubscribe");        _cc_unsubscribe.preinvoke(ctx);        try        {            return _delegate.unsubscribe(publisher_name, ck);        }        finally        {            _cc_unsubscribe.postinvoke(ctx);        }    }        //    //  IDL:omg.org/Components/Events/connect_consumer:1.0    //    /**     **  Implementation of the ::Components::Events::connect_consumer operation.     **/    public void    connect_consumer(java.lang.String emitter_name, org.omg.Components.EventConsumerBase consumer)    throws org.omg.Components.InvalidName, org.omg.Components.AlreadyConnected, org.omg.Components.InvalidConnection    {        if (_cc_connect_consumer==null)            _cc_connect_consumer = _call_context().get_call_coordinator("connect_consumer");                 org.objectweb.openccm.Containers.CallContext ctx = _call_context().duplicate("connect_consumer");        _cc_connect_consumer.preinvoke(ctx);        try        {            _delegate.connect_consumer(emitter_name, consumer);        }        finally        {            _cc_connect_consumer.postinvoke(ctx);        }    }        //    //  IDL:omg.org/Components/Events/disconnect_consumer:1.0    //    /**     **  Implementation of the ::Components::Events::disconnect_consumer operation.     **/    public org.omg.Components.EventConsumerBase    disconnect_consumer(java.lang.String source_name)    throws org.omg.Components.InvalidName, org.omg.Components.NoConnection    {        if (_cc_disconnect_consumer==null)            _cc_disconnect_consumer = _call_context().get_call_coordinator("disconnect_consumer");                 org.objectweb.openccm.Containers.CallContext ctx = _call_context().duplicate("disconnect_consumer");        _cc_disconnect_consumer.preinvoke(ctx);        try        {            return _delegate.disconnect_consumer(source_name);        }        finally        {            _cc_disconnect_consumer.postinvoke(ctx);        }    }        //    //  IDL:omg.org/Components/Events/get_all_consumers:1.0    //    /**     **  Implementation of the ::Components::Events::get_all_consumers operation.     **/    public org.omg.Components.ConsumerDescription[]    get_all_consumers()    {        if (_cc_get_all_consumers==null)            _cc_get_all_consumers = _call_context().get_call_coordinator("get_all_consumers");                 org.objectweb.openccm.Containers.CallContext ctx = _call_context().duplicate("get_all_consumers");        _cc_get_all_consumers.preinvoke(ctx);        try        {            return _delegate.get_all_consumers();        }        finally        {            _cc_get_all_consumers.postinvoke(ctx);        }    }        //    //  IDL:omg.org/Components/Events/get_named_consumers:1.0    //    /**     **  Implementation of the ::Components::Events::get_named_consumers operation.     **/    public org.omg.Components.ConsumerDescription[]    get_named_consumers(java.lang.String[] names)    throws org.omg.Components.InvalidName    {        if (_cc_get_named_consumers==null)            _cc_get_named_consumers = _call_context().get_call_coordinator("get_named_consumers");                 org.objectweb.openccm.Containers.CallContext ctx = _call_context().duplicate("get_named_consumers");        _cc_get_named_consumers.preinvoke(ctx);        try        {            return _delegate.get_named_consumers(names);        }        finally        {            _cc_get_named_consumers.postinvoke(ctx);        }    }        //    //  IDL:omg.org/Components/Events/get_all_emitters:1.0    //    /**     **  Implementation of the ::Components::Events::get_all_emitters operation.     **/    public org.omg.Components.EmitterDescription[]    get_all_emitters()    {        if (_cc_get_all_emitters==null)            _cc_get_all_emitters = _call_context().get_call_coordinator("get_all_emitters");                 org.objectweb.openccm.Containers.CallContext ctx = _call_context().duplicate("get_all_emitters");        _cc_get_all_emitters.preinvoke(ctx);        try        {            return _delegate.get_all_emitters();        }        finally        {            _cc_get_all_emitters.postinvoke(ctx);        }    }        //    //  IDL:omg.org/Components/Events/get_named_emitters:1.0    //    /**     **  Implementation of the ::Components::Events::get_named_emitters operation.     **/    public org.omg.Components.EmitterDescription[]    get_named_emitters(java.lang.String[] names)    throws org.omg.Components.InvalidName    {        if (_cc_get_named_emitters==null)            _cc_get_named_emitters = _call_context().get_call_coordinator("get_named_emitters");                 org.objectweb.openccm.Containers.CallContext ctx = _call_context().duplicate("get_named_emitters");        _cc_get_named_emitters.preinvoke(ctx);        try        {            return _delegate.get_named_emitters(names);        }        finally        {            _cc_get_named_emitters.postinvoke(ctx);        }    }        //    //  IDL:omg.org/Components/Events/get_all_publishers:1.0    //    /**     **  Implementation of the ::Components::Events::get_all_publishers operation.     **/    public org.omg.Components.PublisherDescription[]    get_all_publishers()    {        if (_cc_get_all_publishers==null)            _cc_get_all_publishers = _call_context().get_call_coordinator("get_all_publishers");                 org.objectweb.openccm.Containers.CallContext ctx = _call_context().duplicate("get_all_publishers");        _cc_get_all_publishers.preinvoke(ctx);        try        {            return _delegate.get_all_publishers();        }        finally        {            _cc_get_all_publishers.postinvoke(ctx);        }    }        //    //  IDL:omg.org/Components/Events/get_named_publishers:1.0    //    /**     **  Implementation of the ::Components::Events::get_named_publishers operation.     **/    public org.omg.Components.PublisherDescription[]    get_named_publishers(java.lang.String[] names)    throws org.omg.Components.InvalidName    {        if (_cc_get_named_publishers==null)            _cc_get_named_publishers = _call_context().get_call_coordinator("get_named_publishers");                 org.objectweb.openccm.Containers.CallContext ctx = _call_context().duplicate("get_named_publishers");        _cc_get_named_publishers.preinvoke(ctx);        try        {            return _delegate.get_named_publishers(names);        }        finally        {            _cc_get_named_publishers.postinvoke(ctx);        }    }    }

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -