Пример #1
0
 public void SetProtocol41(bool value)
 {
     this._isProtocol41 = value;
     if (resultPacketParser == null)
     {
         resultPacketParser = new ResultPacketParser(value);
     }
 }
Пример #2
0
        //block ***
        public void UseFlushMode(bool value)
        {
            ResultPacketParser resultPacketParser = currentPacketParser as ResultPacketParser;

            if (resultPacketParser != null)
            {
                resultPacketParser.JustFlushMode = value;
                //1. switch parser mx to flush (data) out mode
                //( just read header no new result created)
                //wait*** until we fetch all server data
            }
        }
 public void SetProtocol41(bool value)
 {
     this._isProtocol41 = value;
     if (resultPacketParser == null)
     {
         resultPacketParser = new ResultPacketParser(value);
     }
 }