Esempio n. 1
0
        /// <summary>
        /// Default constructor
        /// </summary>
        /// <param name="server">The server this client is connected to.</param>
        protected ClientBase(ServerBase server)
        {
            m_server = server;

            m_readBuffer = BufferManager.Instance.CheckOut();

            m_processDataObj        = new ProcessDataExecObj();
            m_processDataObj.Client = this;
        }
Esempio n. 2
0
        /// <summary>
        /// Default constructor
        /// </summary>
        /// <param name="server">The server this client is connected to.</param>
        protected ClientBase(ServerBase server)
        {
            m_server     = server;
            AdminLevel   = 0;
            m_readBuffer = BufferManager.Instance.CheckOut();

            m_processDataObj        = new ProcessDataExecObj();
            m_processDataObj.Client = this;
            // this.AsyncPacketProcessor += new ProcessCommunicationPackets(ProcessPacket);
        }