/// <summary>
        /// Having read a tag, process the corresponding value data.
        /// </summary>
        /// <param name="JSONReader"></param>
        /// <param name="Tag"></param>
		public override void DeserializeToken (JSONReader JSONReader, string Tag) {
			
			switch (Tag) {
				case "Status" : {
					Status = JSONReader.ReadInteger32 ();
					break;
					}
				case "StatusDescription" : {
					StatusDescription = JSONReader.ReadString ();
					break;
					}
				default : {
					base.DeserializeToken(JSONReader, Tag);
					break;
					}
				}
			// check up that all the required elements are present
			}
        /// <summary>
        /// Having read a tag, process the corresponding value data.
        /// </summary>
        /// <param name="JSONReader"></param>
        /// <param name="Tag"></param>
		public override void DeserializeToken (JSONReader JSONReader, string Tag) {
			
			switch (Tag) {
				case "Major" : {
					Major = JSONReader.ReadInteger32 ();
					break;
					}
				case "Minor" : {
					Minor = JSONReader.ReadInteger32 ();
					break;
					}
				case "Encodings" : {
					// Have a sequence of values
					bool _Going = JSONReader.StartArray ();
					Encodings = new List <Encoding> ();
					while (_Going) {
						// an untagged structure.
						var _Item = new Encoding (JSONReader);
						Encodings.Add (_Item);
						_Going = JSONReader.NextArray ();
						}
					break;
					}
				case "URI" : {
					// Have a sequence of values
					bool _Going = JSONReader.StartArray ();
					URI = new List <string> ();
					while (_Going) {
						string _Item = JSONReader.ReadString ();
						URI.Add (_Item);
						_Going = JSONReader.NextArray ();
						}
					break;
					}
				default : {
					break;
					}
				}
			// check up that all the required elements are present
			}
Exemplo n.º 3
0
        /// <summary>
        /// Having read a tag, process the corresponding value data.
        /// </summary>
        /// <param name="JSONReader">The input stream</param>
        /// <param name="Tag">The tag</param>
		public override void DeserializeToken (JSONReader JSONReader, string Tag) {
			
			switch (Tag) {
				case "Key" : {
					Key = JSONReader.ReadString ();
					break;
					}
				case "Offset" : {
					Offset = JSONReader.ReadInteger32 ();
					break;
					}
				default : {
					break;
					}
				}
			// check up that all the required elements are present
			}
Exemplo n.º 4
0
        /// <summary>
        /// Having read a tag, process the corresponding value data.
        /// </summary>
        /// <param name="JSONReader">The input stream</param>
        /// <param name="Tag">The tag</param>
		public override void DeserializeToken (JSONReader JSONReader, string Tag) {
			
			switch (Tag) {
				case "Data" : {
					Data = JSONReader.ReadString ();
					break;
					}
				case "Offset" : {
					// Have a sequence of values
					bool _Going = JSONReader.StartArray ();
					Offset = new List <int> ();
					while (_Going) {
						int _Item = JSONReader.ReadInteger32 ();
						Offset.Add (_Item);
						_Going = JSONReader.NextArray ();
						}
					break;
					}
				default : {
					break;
					}
				}
			// check up that all the required elements are present
			}
Exemplo n.º 5
0
        /// <summary>
        /// Having read a tag, process the corresponding value data.
        /// </summary>
        /// <param name="JSONReader">The input stream</param>
        /// <param name="Tag">The tag</param>
		public override void DeserializeToken (JSONReader JSONReader, string Tag) {
			
			switch (Tag) {
				case "NotBefore" : {
					NotBefore = JSONReader.ReadDateTime ();
					break;
					}
				case "Before" : {
					Before = JSONReader.ReadDateTime ();
					break;
					}
				case "MaxEntries" : {
					MaxEntries = JSONReader.ReadInteger32 ();
					break;
					}
				case "MaxBytes" : {
					MaxBytes = JSONReader.ReadInteger32 ();
					break;
					}
				case "PageKey" : {
					PageKey = JSONReader.ReadString ();
					break;
					}
				default : {
					break;
					}
				}
			// check up that all the required elements are present
			}
Exemplo n.º 6
0
        /// <summary>
        /// Having read a tag, process the corresponding value data.
        /// </summary>
        /// <param name="JSONReader">The input stream</param>
        /// <param name="Tag">The tag</param>
		public override void DeserializeToken (JSONReader JSONReader, string Tag) {
			
			switch (Tag) {
				case "Valid" : {
					Valid = JSONReader.ReadBoolean ();
					break;
					}
				case "Minimum" : {
					Minimum = JSONReader.ReadInteger32 ();
					break;
					}
				case "Maximum" : {
					Maximum = JSONReader.ReadInteger32 ();
					break;
					}
				case "InvalidCharacters" : {
					InvalidCharacters = JSONReader.ReadString ();
					break;
					}
				case "Reason" : {
					Reason = JSONReader.ReadString ();
					break;
					}
				default : {
					base.DeserializeToken(JSONReader, Tag);
					break;
					}
				}
			// check up that all the required elements are present
			}
Exemplo n.º 7
0
 public virtual void DeserializeToken(JSONReader JSONReader, string Tag)
 {
     switch (Tag) {
         case "Name" : {
             Name = JSONReader.ReadString ();
             break;
             }
         case "Port" : {
             Port = JSONReader.ReadInteger32 ();
             break;
             }
         case "Address" : {
             Address = JSONReader.ReadString ();
             break;
             }
         case "Priority" : {
             Priority = JSONReader.ReadInteger32 ();
             break;
             }
         case "Weight" : {
             Weight = JSONReader.ReadInteger32 ();
             break;
             }
         case "Transport" : {
             Transport = JSONReader.ReadString ();
             break;
             }
         case "Expires" : {
             Expires = JSONReader.ReadDateTime ();
             break;
             }
         case "Cryptographic" : {
             Cryptographic = new Cryptographic (JSONReader);
             break;
             }
         default : {
             break;
             }
         }
     // check up that all the required elements are present
 }
Exemplo n.º 8
0
 public virtual void DeserializeToken(JSONReader JSONReader, string Tag)
 {
     switch (Tag) {
         case "IPAddress" : {
             IPAddress = JSONReader.ReadString ();
             break;
             }
         case "IPPort" : {
             IPPort = JSONReader.ReadInteger32 ();
             break;
             }
         case "Transport" : {
             Transport = JSONReader.ReadString ();
             break;
             }
         case "TransportPolicy" : {
             TransportPolicy = JSONReader.ReadString ();
             break;
             }
         case "ProtocolPolicy" : {
             ProtocolPolicy = JSONReader.ReadString ();
             break;
             }
         case "Advice" : {
             Advice = new Advice (JSONReader);
             break;
             }
         default : {
             break;
             }
         }
     // check up that all the required elements are present
 }
Exemplo n.º 9
0
 public new void DeserializeToken(JSONReader JSONReader, string Tag)
 {
     switch (Tag) {
         case "Status" : {
             Status = JSONReader.ReadInteger32 ();
             break;
             }
         case "Index" : {
             Index = JSONReader.ReadInteger32 ();
             break;
             }
         case "Count" : {
             Count = JSONReader.ReadInteger32 ();
             break;
             }
         default : {
             ((QMessage)this).DeserializeToken(JSONReader, Tag);
             break;
             }
         }
     // check up that all the required elements are present
 }
Exemplo n.º 10
0
 public virtual void DeserializeToken(JSONReader JSONReader, string Tag)
 {
     switch (Tag) {
         case "Name" : {
             Name = JSONReader.ReadString ();
             break;
             }
         case "Account" : {
             Account = JSONReader.ReadString ();
             break;
             }
         case "Service" : {
             Service = JSONReader.ReadString ();
             break;
             }
         case "Port" : {
             Port = JSONReader.ReadInteger32 ();
             break;
             }
         default : {
             break;
             }
         }
     // check up that all the required elements are present
 }
Exemplo n.º 11
0
        /// <summary>
        /// Having read a tag, process the corresponding value data.
        /// </summary>
        /// <param name="JSONReader">The input stream</param>
        /// <param name="Tag">The tag</param>
		public override void DeserializeToken (JSONReader JSONReader, string Tag) {
			
			switch (Tag) {
				case "ServiceName" : {
					ServiceName = JSONReader.ReadString ();
					break;
					}
				case "Port" : {
					Port = JSONReader.ReadInteger32 ();
					break;
					}
				case "Prefix" : {
					Prefix = JSONReader.ReadString ();
					break;
					}
				case "Security" : {
					// Have a sequence of values
					bool _Going = JSONReader.StartArray ();
					Security = new List <string> ();
					while (_Going) {
						string _Item = JSONReader.ReadString ();
						Security.Add (_Item);
						_Going = JSONReader.NextArray ();
						}
					break;
					}
				case "UserName" : {
					UserName = JSONReader.ReadString ();
					break;
					}
				case "Password" : {
					Password = JSONReader.ReadString ();
					break;
					}
				case "URI" : {
					URI = JSONReader.ReadString ();
					break;
					}
				case "Authentication" : {
					Authentication = JSONReader.ReadString ();
					break;
					}
				case "TimeOut" : {
					TimeOut = JSONReader.ReadInteger32 ();
					break;
					}
				case "Polling" : {
					Polling = JSONReader.ReadBoolean ();
					break;
					}
				default : {
					break;
					}
				}
			// check up that all the required elements are present
			}