Example #1
0
        /// <summary>
        ///
        /// </summary>
        /// <param name="queue_master"></param>
        /// <param name="queue_slave"></param>
        /// <param name="ip_address">IP주소</param>
        public QChannel(QService queue_master, QService queue_slave, string ip_address)
        {
            m_qmaster = (QService)queue_master.Clone();

            m_qslave           = (QService)queue_slave.Clone();
            m_qslave.IpAddress = ip_address;
        }
Example #2
0
        /// <summary>
        /// Dispose of the backing store before garbage collection.
        /// </summary>
        /// <param name="disposing">
        /// <see langword="true"/> if disposing; otherwise, <see langword="false"/>.
        /// </param>
        protected virtual void Dispose(bool disposing)
        {
            if (IsDisposed == false)
            {
                if (disposing == true)
                {
                    // Dispose managed resources.
                    if (m_qmaster != null)
                    {
                        m_qmaster.Dispose();
                        m_qmaster = null;
                    }
                    if (m_qslave != null)
                    {
                        m_qslave.Dispose();
                        m_qslave = null;
                    }
                    if (m_qreader != null)
                    {
                        m_qreader.Dispose();
                        m_qreader = null;
                    }
                }

                // Dispose unmanaged resources.

                // Note disposing has been done.
                IsDisposed = true;
            }
        }
Example #3
0
        /// <summary>
        /// Dispose of the backing store before garbage collection.
        /// </summary>
        /// <param name="disposing">
        /// <see langword="true"/> if disposing; otherwise, <see langword="false"/>.
        /// </param>
        protected virtual void Dispose(bool disposing)
        {
            if (!IsDisposed)
            {
                if (disposing)
                {
                    // Dispose managed resources.
                    if (m_wcfProxy != null)
                    {
                        m_wcfProxy.Dispose();
                        m_wcfProxy = null;
                    }
                    if (m_manager != null)
                    {
                        m_manager.Dispose();
                        m_manager = null;
                    }
                }

                // Dispose unmanaged resources.

                // Note disposing has been done.
                IsDisposed = true;
            }
        }
Example #4
0
        /// <summary>
        ///
        /// </summary>
        /// <param name="p_manager"></param>
        /// <param name="p_ip_address"></param>
        public CSigner(QService p_manager, string p_ip_address)
            : base(p_manager)
        {
            if (String.IsNullOrEmpty(p_ip_address) == false)
            {
                m_wcf_service_ip = p_ip_address;
            }

            QSlave           = (QService)ISigner.Manager.Clone();
            QSlave.IpAddress = WcfServiceIp;
        }
Example #5
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="disposing"></param>
 protected virtual void Dispose(bool disposing)
 {
     if (disposing)
     {
         if (m_qmaster != null)
         {
             m_qmaster.Dispose();
             m_qmaster = null;
         }
         if (m_icollector != null)
         {
             m_icollector.Dispose();
             m_icollector = null;
         }
     }
 }
Example #6
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="disposing"></param>
 protected virtual void Dispose(bool disposing)
 {
     if (disposing)
     {
         if (m_qmaster != null)
         {
             m_qmaster.Dispose();
             m_qmaster = null;
         }
         if (m_svcHelper != null)
         {
             m_svcHelper.Dispose();
             m_svcHelper = null;
         }
     }
 }
Example #7
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="disposing"></param>
 protected virtual void Dispose(bool disposing)
 {
     if (disposing)
     {
         if (m_qmaster != null)
         {
             m_qmaster.Dispose();
             m_qmaster = null;
         }
         if (m_appHelper != null)
         {
             m_appHelper.Dispose();
             m_appHelper = null;
         }
         if (m_responseSet != null)
         {
             m_responseSet.Dispose();
             m_responseSet = null;
         }
         if (m_responseTbl != null)
         {
             m_responseTbl.Dispose();
             m_responseTbl = null;
         }
         if (m_resultTbl != null)
         {
             m_resultTbl.Dispose();
             m_resultTbl = null;
         }
         if (m_issuingTbl != null)
         {
             m_issuingTbl.Dispose();
             m_issuingTbl = null;
         }
     }
 }
Example #8
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="p_qmaster"></param>
 /// <param name="p_qslave"></param>
 /// <param name="p_ip_address"></param>
 public CCollector(QService p_qmaster, QService p_qslave, string p_ip_address)
     : base(p_qmaster, p_qslave, p_ip_address)
 {
 }
Example #9
0
        //-------------------------------------------------------------------------------------------------------------------------
        //
        //-------------------------------------------------------------------------------------------------------------------------

        /// <summary>
        ///
        /// </summary>
        /// <param name="p_manager"></param>
        public CCollector(QService p_manager)
            : this(p_manager, "")
        {
        }
Example #10
0
 public EnrollmentService(HttpService http, QService qService) : base("Enrollment", http, qService)
 {
     this.http     = http;
     this.qService = qService;
 }
Example #11
0
 public TestPromises(QService _q)
 {
     this.Q = _q;
 }
Example #12
0
 public BaseService(string controllerName, HttpService http, QService qService)
 {
     this.controllerName = controllerName;
     this.http           = http;
     this.qService       = qService;
 }
Example #13
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="p_qmaster"></param>
 /// <param name="p_qslave"></param>
 /// <param name="p_ip_address"></param>
 public CSigner(QService p_qmaster, QService p_qslave, string p_ip_address)
     : base(p_qmaster, p_qslave, p_ip_address)
 {
 }
Example #14
0
        //-------------------------------------------------------------------------------------------------------------------------
        //
        //-------------------------------------------------------------------------------------------------------------------------

        /// <summary>
        ///
        /// </summary>
        /// <param name="p_manager"></param>
        public CSigner(QService p_manager)
            : this(p_manager, "")
        {
        }
Example #15
0
 public CourseService(HttpService http, QService qService) : base("Course", http, qService)
 {
     this.http     = http;
     this.qService = qService;
 }
Example #16
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="queue_master"></param>
 public QChannel(QService queue_master)
 {
     m_qmaster = (QService)queue_master.Clone();
 }
Example #17
0
        //-------------------------------------------------------------------------------------------------------------------------
        //
        //-------------------------------------------------------------------------------------------------------------------------

        /// <summary>
        ///
        /// </summary>
        /// <param name="p_manager"></param>
        public CResponsor(QService p_manager)
            : this(p_manager, "")
        {
        }
Example #18
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="p_qmaster"></param>
 /// <param name="p_qslave"></param>
 /// <param name="p_ip_address"></param>
 public CResponsor(QService p_qmaster, QService p_qslave, string p_ip_address)
     : base(p_qmaster, p_qslave, p_ip_address)
 {
 }
Example #19
0
        //-------------------------------------------------------------------------------------------------------------------------
        //
        //-------------------------------------------------------------------------------------------------------------------------

        /// <summary>
        ///
        /// </summary>
        /// <param name="p_manager"></param>
        public CProvider(QService p_manager)
            : this(p_manager, "")
        {
        }
Example #20
0
        //-------------------------------------------------------------------------------------------------------------------------
        //
        //-------------------------------------------------------------------------------------------------------------------------

        /// <summary>
        ///
        /// </summary>
        /// <param name="p_manager"></param>
        public CReporter(QService p_manager)
            : this(p_manager, "")
        {
        }
Example #21
0
        //-------------------------------------------------------------------------------------------------------------------------
        //
        //-------------------------------------------------------------------------------------------------------------------------

        /// <summary>
        ///
        /// </summary>
        /// <param name="p_manager"></param>
        public URespHelper(QService p_manager)
        {
            m_qmaster = (QService)p_manager.Clone();
        }
Example #22
0
        //-------------------------------------------------------------------------------------------------------------------------
        //
        //-------------------------------------------------------------------------------------------------------------------------

        /// <summary>
        ///
        /// </summary>
        /// <param name="p_manager"></param>
        public CMailer(QService p_manager)
            : this(p_manager, "")
        {
        }
Example #23
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="p_manager"></param>
 /// <param name="p_isService"></param>
 public URespHelper(QService p_manager, bool p_isService)
     : this(p_manager)
 {
     QMaster.IsService = p_isService;
 }
Example #24
0
 public StudentService(HttpService http, QService qService) : base("Student", http, qService)
 {
     this.http     = http;
     this.qService = qService;
 }