Esempio n. 1
0
        /// <summary>
        ///     TJsonProtocol Constructor
        /// </summary>
        public TJsonProtocol(TClientTransport trans)
            : base(trans)
        {
            //throw new NotImplementedException("TJsonProtocol is not fully ready for usage");

            Context = new JsonBaseContext(this);
            Reader  = new LookaheadReader(this);
        }
Esempio n. 2
0
 /// <summary>
 ///     Pop the last JSON context off the stack
 /// </summary>
 protected void PopContext()
 {
     Context = ContextStack.Pop();
 }
Esempio n. 3
0
 /// <summary>
 ///     Push a new JSON context onto the stack.
 /// </summary>
 protected void PushContext(JsonBaseContext c)
 {
     ContextStack.Push(Context);
     Context = c;
 }
Esempio n. 4
0
 /// <summary>
 ///     Pop the last JSON context off the stack
 /// </summary>
 protected void PopContext()
 {
     Context = ContextStack.Pop();
 }
Esempio n. 5
0
 /// <summary>
 ///     Push a new JSON context onto the stack.
 /// </summary>
 protected void PushContext(JsonBaseContext c)
 {
     ContextStack.Push(Context);
     Context = c;
 }
Esempio n. 6
0
        /// <summary>
        ///     TJsonProtocol Constructor
        /// </summary>
        public TJsonProtocol(TClientTransport trans)
            : base(trans)
        {
            //throw new NotImplementedException("TJsonProtocol is not fully ready for usage");

            Context = new JsonBaseContext(this);
            Reader = new LookaheadReader(this);
        }