//
// generated automatically from "IDictionary.h"
//
// implements COM-RPC proxy stubs for:
//   - class RPC::IIteratorType<typename ELEMENT, const uint32_t INTERFACE_ID> [with ELEMENT = Exchange::IDictionary::PathEntry, INTERFACE_ID = Exchange::ID_DICTIONARY_ITERATOR] [[iterator]]
//   - class Exchange::IDictionary
//   - class Exchange::IDictionary::INotification
//

#include "Module.h"
#include "IDictionary.h"

#include <com/com.h>

namespace Thunder {

namespace ProxyStubs {

    PUSH_WARNING(DISABLE_WARNING_DEPRECATED_USE)
    PUSH_WARNING(DISABLE_WARNING_TYPE_LIMITS)

    // -----------------------------------------------------------------
    // STUBS
    // -----------------------------------------------------------------

    //
    // RPC::IIteratorTypeInstance_95e37984e0548a80 interface stub definitions
    //
    // Methods:
    //  (0) virtual bool Next(Exchange::IDictionary::PathEntry&) = 0
    //  (1) virtual bool Previous(Exchange::IDictionary::PathEntry&) = 0
    //  (2) virtual void Reset(const uint32_t) = 0
    //  (3) virtual bool IsValid() const = 0
    //  (4) virtual uint32_t Count() const = 0
    //  (5) virtual Exchange::IDictionary::PathEntry Current() const = 0
    //

    static ProxyStub::MethodHandler RPCIteratorTypeInstance_95e37984e0548a80StubMethods[] = {
        // (0) virtual bool Next(Exchange::IDictionary::PathEntry&) = 0
        //
        [](Core::ProxyType<Core::IPCChannel>& /* channel */, Core::ProxyType<RPC::InvokeMessage>& message) {
            using interface = RPC::IIteratorType<Exchange::IDictionary::PathEntry, Exchange::ID_DICTIONARY_ITERATOR>;

            interface* implementation = reinterpret_cast<interface*>(message->Parameters().Implementation());
            ASSERT(implementation != nullptr);

            Exchange::IDictionary::PathEntry _info{};

            bool result = implementation->Next(_info);

            RPC::Data::Frame::Writer writer(message->Response().Writer());
            writer.Boolean(result);
            writer.Text(_info.name);
            writer.Number<Exchange::IDictionary::Type>(_info.type);
        },

        // (1) virtual bool Previous(Exchange::IDictionary::PathEntry&) = 0
        //
        [](Core::ProxyType<Core::IPCChannel>& /* channel */, Core::ProxyType<RPC::InvokeMessage>& message) {
            using interface = RPC::IIteratorType<Exchange::IDictionary::PathEntry, Exchange::ID_DICTIONARY_ITERATOR>;

            interface* implementation = reinterpret_cast<interface*>(message->Parameters().Implementation());
            ASSERT(implementation != nullptr);

            Exchange::IDictionary::PathEntry _info{};

            bool result = implementation->Previous(_info);

            RPC::Data::Frame::Writer writer(message->Response().Writer());
            writer.Boolean(result);
            writer.Text(_info.name);
            writer.Number<Exchange::IDictionary::Type>(_info.type);
        },

        // (2) virtual void Reset(const uint32_t) = 0
        //
        [](Core::ProxyType<Core::IPCChannel>& /* channel */, Core::ProxyType<RPC::InvokeMessage>& message) {
            using interface = RPC::IIteratorType<Exchange::IDictionary::PathEntry, Exchange::ID_DICTIONARY_ITERATOR>;

            interface* implementation = reinterpret_cast<interface*>(message->Parameters().Implementation());
            ASSERT(implementation != nullptr);

            RPC::Data::Frame::Reader reader(message->Parameters().Reader());
            const uint32_t _position = reader.Number<uint32_t>();

            implementation->Reset(_position);
        },

        // (3) virtual bool IsValid() const = 0
        //
        [](Core::ProxyType<Core::IPCChannel>& /* channel */, Core::ProxyType<RPC::InvokeMessage>& message) {
            using interface = RPC::IIteratorType<Exchange::IDictionary::PathEntry, Exchange::ID_DICTIONARY_ITERATOR>;

            const interface* implementation = reinterpret_cast<const interface*>(message->Parameters().Implementation());
            ASSERT(implementation != nullptr);

            bool result = implementation->IsValid();

            RPC::Data::Frame::Writer writer(message->Response().Writer());
            writer.Boolean(result);
        },

        // (4) virtual uint32_t Count() const = 0
        //
        [](Core::ProxyType<Core::IPCChannel>& /* channel */, Core::ProxyType<RPC::InvokeMessage>& message) {
            using interface = RPC::IIteratorType<Exchange::IDictionary::PathEntry, Exchange::ID_DICTIONARY_ITERATOR>;

            const interface* implementation = reinterpret_cast<const interface*>(message->Parameters().Implementation());
            ASSERT(implementation != nullptr);

            uint32_t result = implementation->Count();

            RPC::Data::Frame::Writer writer(message->Response().Writer());
            writer.Number<uint32_t>(result);
        },

        // (5) virtual Exchange::IDictionary::PathEntry Current() const = 0
        //
        [](Core::ProxyType<Core::IPCChannel>& /* channel */, Core::ProxyType<RPC::InvokeMessage>& message) {
            using interface = RPC::IIteratorType<Exchange::IDictionary::PathEntry, Exchange::ID_DICTIONARY_ITERATOR>;

            const interface* implementation = reinterpret_cast<const interface*>(message->Parameters().Implementation());
            ASSERT(implementation != nullptr);

            Exchange::IDictionary::PathEntry result = implementation->Current();

            RPC::Data::Frame::Writer writer(message->Response().Writer());
            writer.Text(result.name);
            writer.Number<Exchange::IDictionary::Type>(result.type);
        }
        , nullptr
    }; // RPCIteratorTypeInstance_95e37984e0548a80StubMethods

    //
    // Exchange::IDictionary interface stub definitions
    //
    // Methods:
    //  (0) virtual Core::hresult Register(const string&, Exchange::IDictionary::INotification*) = 0
    //  (1) virtual Core::hresult Unregister(const string&, const Exchange::IDictionary::INotification*) = 0
    //  (2) virtual Core::hresult Get(const string&, const string&, string&) const = 0
    //  (3) virtual Core::hresult Set(const string&, const string&, const string&) = 0
    //  (4) virtual Core::hresult PathEntries(const string&, Exchange::IDictionary::IPathIterator*&) const = 0
    //

    static ProxyStub::MethodHandler ExchangeDictionaryStubMethods[] = {
        // (0) virtual Core::hresult Register(const string&, Exchange::IDictionary::INotification*) = 0
        //
        [](Core::ProxyType<Core::IPCChannel>& channel, Core::ProxyType<RPC::InvokeMessage>& message) {
            Exchange::IDictionary* implementation = reinterpret_cast<Exchange::IDictionary*>(message->Parameters().Implementation());
            ASSERT(implementation != nullptr);

            RPC::Data::Frame::Reader reader(message->Parameters().Reader());
            const string _path = reader.Text();
            Core::instance_id _sinkInstanceId__ = reader.Number<Core::instance_id>();

            Exchange::IDictionary::INotification* _sink{};
            ProxyStub::UnknownProxy* _sinkProxy__ = nullptr;
            if (_sinkInstanceId__ != 0) {
                _sinkProxy__ = RPC::Administrator::Instance().ProxyInstance(channel, _sinkInstanceId__, false, _sink);
                ASSERT((_sink != nullptr) && (_sinkProxy__ != nullptr));
            }

            Core::hresult result = implementation->Register(static_cast<const string&>(_path), _sink);

            RPC::Data::Frame::Writer writer(message->Response().Writer());
            writer.Number<Core::hresult>(result);

            if (_sinkProxy__ != nullptr) {
                RPC::Administrator::Instance().Release(_sinkProxy__, message->Response());
            }
        },

        // (1) virtual Core::hresult Unregister(const string&, const Exchange::IDictionary::INotification*) = 0
        //
        [](Core::ProxyType<Core::IPCChannel>& channel, Core::ProxyType<RPC::InvokeMessage>& message) {
            Exchange::IDictionary* implementation = reinterpret_cast<Exchange::IDictionary*>(message->Parameters().Implementation());
            ASSERT(implementation != nullptr);

            RPC::Data::Frame::Reader reader(message->Parameters().Reader());
            const string _path = reader.Text();
            Core::instance_id _sinkInstanceId__ = reader.Number<Core::instance_id>();

            const Exchange::IDictionary::INotification* _sink{};
            ProxyStub::UnknownProxy* _sinkProxy__ = nullptr;
            if (_sinkInstanceId__ != 0) {
                _sinkProxy__ = RPC::Administrator::Instance().ProxyInstance(channel, _sinkInstanceId__, false, _sink);
                ASSERT((_sink != nullptr) && (_sinkProxy__ != nullptr));
            }

            Core::hresult result = implementation->Unregister(static_cast<const string&>(_path), _sink);

            RPC::Data::Frame::Writer writer(message->Response().Writer());
            writer.Number<Core::hresult>(result);

            if (_sinkProxy__ != nullptr) {
                RPC::Administrator::Instance().Release(_sinkProxy__, message->Response());
            }
        },

        // (2) virtual Core::hresult Get(const string&, const string&, string&) const = 0
        //
        [](Core::ProxyType<Core::IPCChannel>& /* channel */, Core::ProxyType<RPC::InvokeMessage>& message) {
            const Exchange::IDictionary* implementation = reinterpret_cast<const Exchange::IDictionary*>(message->Parameters().Implementation());
            ASSERT(implementation != nullptr);

            RPC::Data::Frame::Reader reader(message->Parameters().Reader());
            const string _path = reader.Text();
            const string _key = reader.Text();

            string _value{};

            Core::hresult result = implementation->Get(static_cast<const string&>(_path), static_cast<const string&>(_key), _value);

            RPC::Data::Frame::Writer writer(message->Response().Writer());
            writer.Number<Core::hresult>(result);
            writer.Text(_value);
        },

        // (3) virtual Core::hresult Set(const string&, const string&, const string&) = 0
        //
        [](Core::ProxyType<Core::IPCChannel>& /* channel */, Core::ProxyType<RPC::InvokeMessage>& message) {
            Exchange::IDictionary* implementation = reinterpret_cast<Exchange::IDictionary*>(message->Parameters().Implementation());
            ASSERT(implementation != nullptr);

            RPC::Data::Frame::Reader reader(message->Parameters().Reader());
            const string _path = reader.Text();
            const string _key = reader.Text();
            const string _value = reader.Text();

            Core::hresult result = implementation->Set(static_cast<const string&>(_path), static_cast<const string&>(_key), static_cast<const string&>(_value));

            RPC::Data::Frame::Writer writer(message->Response().Writer());
            writer.Number<Core::hresult>(result);
        },

        // (4) virtual Core::hresult PathEntries(const string&, Exchange::IDictionary::IPathIterator*&) const = 0
        //
        [](Core::ProxyType<Core::IPCChannel>& channel, Core::ProxyType<RPC::InvokeMessage>& message) {
            const Exchange::IDictionary* implementation = reinterpret_cast<const Exchange::IDictionary*>(message->Parameters().Implementation());
            ASSERT(implementation != nullptr);

            RPC::Data::Frame::Reader reader(message->Parameters().Reader());
            const string _path = reader.Text();

            Exchange::IDictionary::IPathIterator* _entries{};

            Core::hresult result = implementation->PathEntries(static_cast<const string&>(_path), _entries);

            RPC::Data::Frame::Writer writer(message->Response().Writer());
            writer.Number<Core::hresult>(result);
            writer.Number<Core::instance_id>(RPC::instance_cast(_entries));

            RPC::Administrator::Instance().RegisterInterface(channel, _entries);
        }
        , nullptr
    }; // ExchangeDictionaryStubMethods

    //
    // Exchange::IDictionary::INotification interface stub definitions
    //
    // Methods:
    //  (0) virtual void Modified(const string&, const string&, const string&) = 0
    //

    static ProxyStub::MethodHandler ExchangeDictionaryNotificationStubMethods[] = {
        // (0) virtual void Modified(const string&, const string&, const string&) = 0
        //
        [](Core::ProxyType<Core::IPCChannel>& /* channel */, Core::ProxyType<RPC::InvokeMessage>& message) {
            Exchange::IDictionary::INotification* implementation = reinterpret_cast<Exchange::IDictionary::INotification*>(message->Parameters().Implementation());
            ASSERT(implementation != nullptr);

            RPC::Data::Frame::Reader reader(message->Parameters().Reader());
            const string _path = reader.Text();
            const string _key = reader.Text();
            const string _value = reader.Text();

            implementation->Modified(static_cast<const string&>(_path), static_cast<const string&>(_key), static_cast<const string&>(_value));
        }
        , nullptr
    }; // ExchangeDictionaryNotificationStubMethods

    // -----------------------------------------------------------------
    // PROXIES
    // -----------------------------------------------------------------

    //
    // RPC::IIteratorTypeInstance_95e37984e0548a80 interface proxy definitions
    //
    // Methods:
    //  (0) virtual bool Next(Exchange::IDictionary::PathEntry&) = 0
    //  (1) virtual bool Previous(Exchange::IDictionary::PathEntry&) = 0
    //  (2) virtual void Reset(const uint32_t) = 0
    //  (3) virtual bool IsValid() const = 0
    //  (4) virtual uint32_t Count() const = 0
    //  (5) virtual Exchange::IDictionary::PathEntry Current() const = 0
    //

    class RPCIteratorTypeInstance_95e37984e0548a80Proxy final : public ProxyStub::UnknownProxyType<RPC::IIteratorType<Exchange::IDictionary::PathEntry, Exchange::ID_DICTIONARY_ITERATOR>> {
    public:
        RPCIteratorTypeInstance_95e37984e0548a80Proxy(const Core::ProxyType<Core::IPCChannel>& channel, const Core::instance_id implementation, const bool otherSideInformed)
            : BaseClass(channel, implementation, otherSideInformed)
        {
        }

        bool Next(Exchange::IDictionary::PathEntry& _info) override
        {
            IPCMessage message(static_cast<const ProxyStub::UnknownProxy&>(*this).Message(0));

            bool result{};

            const Core::hresult hresult = static_cast<const ProxyStub::UnknownProxy&>(*this).Invoke(message);
            if (hresult == Core::ERROR_NONE) {
                RPC::Data::Frame::Reader reader(message->Response().Reader());
                result = reader.Boolean();
                _info.name = reader.Text();
                _info.type = reader.Number<Exchange::IDictionary::Type>();
            } else {
                ASSERT((hresult & COM_ERROR) != 0);
            }

            return (result);
        }

        bool Previous(Exchange::IDictionary::PathEntry& _info) override
        {
            IPCMessage message(static_cast<const ProxyStub::UnknownProxy&>(*this).Message(1));

            bool result{};

            const Core::hresult hresult = static_cast<const ProxyStub::UnknownProxy&>(*this).Invoke(message);
            if (hresult == Core::ERROR_NONE) {
                RPC::Data::Frame::Reader reader(message->Response().Reader());
                result = reader.Boolean();
                _info.name = reader.Text();
                _info.type = reader.Number<Exchange::IDictionary::Type>();
            } else {
                ASSERT((hresult & COM_ERROR) != 0);
            }

            return (result);
        }

        void Reset(const uint32_t _position) override
        {
            IPCMessage message(static_cast<const ProxyStub::UnknownProxy&>(*this).Message(2));

            RPC::Data::Frame::Writer writer(message->Parameters().Writer());
            writer.Number<uint32_t>(_position);

            static_cast<const ProxyStub::UnknownProxy&>(*this).Invoke(message);
        }

        bool IsValid() const override
        {
            IPCMessage message(static_cast<const ProxyStub::UnknownProxy&>(*this).Message(3));

            bool result{};

            const Core::hresult hresult = static_cast<const ProxyStub::UnknownProxy&>(*this).Invoke(message);
            if (hresult == Core::ERROR_NONE) {
                RPC::Data::Frame::Reader reader(message->Response().Reader());
                result = reader.Boolean();
            } else {
                ASSERT((hresult & COM_ERROR) != 0);
            }

            return (result);
        }

        uint32_t Count() const override
        {
            IPCMessage message(static_cast<const ProxyStub::UnknownProxy&>(*this).Message(4));

            uint32_t result{};

            const Core::hresult hresult = static_cast<const ProxyStub::UnknownProxy&>(*this).Invoke(message);
            if (hresult == Core::ERROR_NONE) {
                RPC::Data::Frame::Reader reader(message->Response().Reader());
                result = reader.Number<uint32_t>();
            } else {
                ASSERT((hresult & COM_ERROR) != 0);
            }

            return (result);
        }

        Exchange::IDictionary::PathEntry Current() const override
        {
            IPCMessage message(static_cast<const ProxyStub::UnknownProxy&>(*this).Message(5));

            Exchange::IDictionary::PathEntry result{};

            const Core::hresult hresult = static_cast<const ProxyStub::UnknownProxy&>(*this).Invoke(message);
            if (hresult == Core::ERROR_NONE) {
                RPC::Data::Frame::Reader reader(message->Response().Reader());
                result.name = reader.Text();
                result.type = reader.Number<Exchange::IDictionary::Type>();
            } else {
                ASSERT((hresult & COM_ERROR) != 0);
            }

            return (result);
        }

    }; // class RPCIteratorTypeInstance_95e37984e0548a80Proxy

    //
    // Exchange::IDictionary interface proxy definitions
    //
    // Methods:
    //  (0) virtual Core::hresult Register(const string&, Exchange::IDictionary::INotification*) = 0
    //  (1) virtual Core::hresult Unregister(const string&, const Exchange::IDictionary::INotification*) = 0
    //  (2) virtual Core::hresult Get(const string&, const string&, string&) const = 0
    //  (3) virtual Core::hresult Set(const string&, const string&, const string&) = 0
    //  (4) virtual Core::hresult PathEntries(const string&, Exchange::IDictionary::IPathIterator*&) const = 0
    //

    class ExchangeDictionaryProxy final : public ProxyStub::UnknownProxyType<Exchange::IDictionary> {
    public:
        ExchangeDictionaryProxy(const Core::ProxyType<Core::IPCChannel>& channel, const Core::instance_id implementation, const bool otherSideInformed)
            : BaseClass(channel, implementation, otherSideInformed)
        {
        }

        Core::hresult Register(const string& _path, Exchange::IDictionary::INotification* _sink) override
        {
            IPCMessage message(static_cast<const ProxyStub::UnknownProxy&>(*this).Message(0));

            RPC::Data::Frame::Writer writer(message->Parameters().Writer());
            writer.Text(_path);
            writer.Number<Core::instance_id>(RPC::instance_cast(_sink));

            Core::hresult hresult = static_cast<const ProxyStub::UnknownProxy&>(*this).Invoke(message);
            if (hresult == Core::ERROR_NONE) {
                RPC::Data::Frame::Reader reader(message->Response().Reader());
                hresult = reader.Number<Core::hresult>();

                _Complete(reader);
            } else {
                ASSERT((hresult & COM_ERROR) != 0);
            }

            return (hresult);
        }

        Core::hresult Unregister(const string& _path, const Exchange::IDictionary::INotification* _sink) override
        {
            IPCMessage message(static_cast<const ProxyStub::UnknownProxy&>(*this).Message(1));

            RPC::Data::Frame::Writer writer(message->Parameters().Writer());
            writer.Text(_path);
            writer.Number<Core::instance_id>(RPC::instance_cast(_sink));

            Core::hresult hresult = static_cast<const ProxyStub::UnknownProxy&>(*this).Invoke(message);
            if (hresult == Core::ERROR_NONE) {
                RPC::Data::Frame::Reader reader(message->Response().Reader());
                hresult = reader.Number<Core::hresult>();

                _Complete(reader);
            } else {
                ASSERT((hresult & COM_ERROR) != 0);
            }

            return (hresult);
        }

        Core::hresult Get(const string& _path, const string& _key, string& _value) const override
        {
            IPCMessage message(static_cast<const ProxyStub::UnknownProxy&>(*this).Message(2));

            RPC::Data::Frame::Writer writer(message->Parameters().Writer());
            writer.Text(_path);
            writer.Text(_key);

            Core::hresult hresult = static_cast<const ProxyStub::UnknownProxy&>(*this).Invoke(message);
            if (hresult == Core::ERROR_NONE) {
                RPC::Data::Frame::Reader reader(message->Response().Reader());
                hresult = reader.Number<Core::hresult>();
                _value = reader.Text();
            } else {
                ASSERT((hresult & COM_ERROR) != 0);
            }

            return (hresult);
        }

        Core::hresult Set(const string& _path, const string& _key, const string& _value) override
        {
            IPCMessage message(static_cast<const ProxyStub::UnknownProxy&>(*this).Message(3));

            RPC::Data::Frame::Writer writer(message->Parameters().Writer());
            writer.Text(_path);
            writer.Text(_key);
            writer.Text(_value);

            Core::hresult hresult = static_cast<const ProxyStub::UnknownProxy&>(*this).Invoke(message);
            if (hresult == Core::ERROR_NONE) {
                RPC::Data::Frame::Reader reader(message->Response().Reader());
                hresult = reader.Number<Core::hresult>();
            } else {
                ASSERT((hresult & COM_ERROR) != 0);
            }

            return (hresult);
        }

        Core::hresult PathEntries(const string& _path, Exchange::IDictionary::IPathIterator*& _entries) const override
        {
            IPCMessage message(static_cast<const ProxyStub::UnknownProxy&>(*this).Message(4));

            RPC::Data::Frame::Writer writer(message->Parameters().Writer());
            writer.Text(_path);

            Core::hresult hresult = static_cast<const ProxyStub::UnknownProxy&>(*this).Invoke(message);
            if (hresult == Core::ERROR_NONE) {
                RPC::Data::Frame::Reader reader(message->Response().Reader());
                hresult = reader.Number<Core::hresult>();
                _entries = reinterpret_cast<Exchange::IDictionary::IPathIterator*>(static_cast<const ProxyStub::UnknownProxy&>(*this).Interface(reader.Number<Core::instance_id>(), Exchange::IDictionary::IPathIterator::ID));
            } else {
                ASSERT((hresult & COM_ERROR) != 0);
            }

            return (hresult);
        }

    private:
        uint32_t _Complete(RPC::Data::Frame::Reader& reader) const
        {
            uint32_t result = Core::ERROR_NONE;

            while (reader.HasData() == true) {
                const Core::instance_id implementation = reader.Number<Core::instance_id>();
                ASSERT(implementation != 0);

                const uint32_t id = reader.Number<uint32_t>();
                const RPC::Data::Output::mode how = reader.Number<RPC::Data::Output::mode>();

                result = static_cast<const ProxyStub::UnknownProxy&>(*this).Complete(implementation, id, how);
                if (result != Core::ERROR_NONE) { return (COM_ERROR | result); }
            }

            return (result);
        }

    }; // class ExchangeDictionaryProxy

    //
    // Exchange::IDictionary::INotification interface proxy definitions
    //
    // Methods:
    //  (0) virtual void Modified(const string&, const string&, const string&) = 0
    //

    class ExchangeDictionaryNotificationProxy final : public ProxyStub::UnknownProxyType<Exchange::IDictionary::INotification> {
    public:
        ExchangeDictionaryNotificationProxy(const Core::ProxyType<Core::IPCChannel>& channel, const Core::instance_id implementation, const bool otherSideInformed)
            : BaseClass(channel, implementation, otherSideInformed)
        {
        }

        void Modified(const string& _path, const string& _key, const string& _value) override
        {
            IPCMessage message(static_cast<const ProxyStub::UnknownProxy&>(*this).Message(0));

            RPC::Data::Frame::Writer writer(message->Parameters().Writer());
            writer.Text(_path);
            writer.Text(_key);
            writer.Text(_value);

            static_cast<const ProxyStub::UnknownProxy&>(*this).Invoke(message);
        }

    }; // class ExchangeDictionaryNotificationProxy

    POP_WARNING()
    POP_WARNING()

    // -----------------------------------------------------------------
    // REGISTRATION
    // -----------------------------------------------------------------
    namespace {

        typedef ProxyStub::UnknownStubType<RPC::IIteratorType<Exchange::IDictionary::PathEntry, Exchange::ID_DICTIONARY_ITERATOR>, RPCIteratorTypeInstance_95e37984e0548a80StubMethods> RPCIteratorTypeInstance_95e37984e0548a80Stub;
        typedef ProxyStub::UnknownStubType<Exchange::IDictionary, ExchangeDictionaryStubMethods> ExchangeDictionaryStub;
        typedef ProxyStub::UnknownStubType<Exchange::IDictionary::INotification, ExchangeDictionaryNotificationStubMethods> ExchangeDictionaryNotificationStub;

        static class Instantiation {
        public:
            Instantiation()
            {
                RPC::Administrator::Instance().Announce<RPC::IIteratorType<Exchange::IDictionary::PathEntry, Exchange::ID_DICTIONARY_ITERATOR>, RPCIteratorTypeInstance_95e37984e0548a80Proxy, RPCIteratorTypeInstance_95e37984e0548a80Stub>();
                RPC::Administrator::Instance().Announce<Exchange::IDictionary, ExchangeDictionaryProxy, ExchangeDictionaryStub>();
                RPC::Administrator::Instance().Announce<Exchange::IDictionary::INotification, ExchangeDictionaryNotificationProxy, ExchangeDictionaryNotificationStub>();
            }
            ~Instantiation()
            {
                RPC::Administrator::Instance().Recall<RPC::IIteratorType<Exchange::IDictionary::PathEntry, Exchange::ID_DICTIONARY_ITERATOR>>();
                RPC::Administrator::Instance().Recall<Exchange::IDictionary>();
                RPC::Administrator::Instance().Recall<Exchange::IDictionary::INotification>();
            }
        } ProxyStubRegistration;

    } // namespace

} // namespace ProxyStubs

}
