Example #1
0
        /// <summary>
        /// Open DOB connection and initiates dispatch
        /// </summary>
        public App()
        {
            m_dobConnection = new Safir.Dob.Connection();
            m_callDispatch  = new MethodDelegate(m_dobConnection.Dispatch);

            // Create the main loop.
            mainLoop = new MainLoop();

            entityHandler  = new EntityHandler();
            serviceHandler = new ServiceHandler();
        }
Example #2
0
        ///////////////////////////////////
        // Public members and functions

        /// <summary>
        /// Open Dob connection and initiates dispatch
        /// </summary>
        public App()
        {
            m_DobConnection = new Safir.Dob.Connection();
            m_DobConnection.Open("VehicleMmiCsWinForms", "Vehicle", 0, this, this);
            m_callDispatch = new MethodDelegate(m_DobConnection.Dispatch);
        }