From 3376b82501000692d6dac24b051af738cdaf2737 Mon Sep 17 00:00:00 2001
From: MW
Date: Thu, 24 May 2007 12:16:50 +0000
Subject: Some more code refactoring, plus a restructuring of the directories
so that the Grid servers can be a separate solution to the region server.
---
Common-Source/XmlRpcCS/XmlRpcXmlTokens.cs | 76 +++++++++++++++++++++++++++++++
1 file changed, 76 insertions(+)
create mode 100644 Common-Source/XmlRpcCS/XmlRpcXmlTokens.cs
(limited to 'Common-Source/XmlRpcCS/XmlRpcXmlTokens.cs')
diff --git a/Common-Source/XmlRpcCS/XmlRpcXmlTokens.cs b/Common-Source/XmlRpcCS/XmlRpcXmlTokens.cs
new file mode 100644
index 0000000..50788bd
--- /dev/null
+++ b/Common-Source/XmlRpcCS/XmlRpcXmlTokens.cs
@@ -0,0 +1,76 @@
+namespace Nwc.XmlRpc
+{
+ using System;
+
+ /// Class collecting String tokens that are part of XML-RPC files.
+ public class XmlRpcXmlTokens
+ {
+ /// C# formatting string to describe an ISO 8601 date.
+ public const String ISO_DATETIME = "yyyyMMdd\\THH\\:mm\\:ss";
+ /// Base64 field indicator.
+ /// Corresponds to the <base64> tag.
+ public const String BASE64 = "base64";
+ /// String field indicator.
+ /// Corresponds to the <string> tag.
+ public const String STRING = "string";
+ /// Integer field integer.
+ /// Corresponds to the <i4> tag.
+ public const String INT = "i4";
+ /// Alternate integer field indicator.
+ /// Corresponds to the <int> tag.
+ public const String ALT_INT = "int";
+ /// Date field indicator.
+ /// Corresponds to the <dateTime.iso8601> tag.
+ public const String DATETIME = "dateTime.iso8601";
+ /// Boolean field indicator.
+ /// Corresponds to the <boolean> tag.
+ public const String BOOLEAN = "boolean";
+ /// Value token.
+ /// Corresponds to the <value> tag.
+ public const String VALUE = "value";
+ /// Name token.
+ /// Corresponds to the <name> tag.
+ public const String NAME = "name";
+ /// Array field indicator..
+ /// Corresponds to the <array> tag.
+ public const String ARRAY = "array";
+ /// Data token.
+ /// Corresponds to the <data> tag.
+ public const String DATA = "data";
+ /// Member token.
+ /// Corresponds to the <member> tag.
+ public const String MEMBER = "member";
+ /// Stuct field indicator.
+ /// Corresponds to the <struct> tag.
+ public const String STRUCT = "struct";
+ /// Double field indicator.
+ /// Corresponds to the <double> tag.
+ public const String DOUBLE = "double";
+ /// Param token.
+ /// Corresponds to the <param> tag.
+ public const String PARAM = "param";
+ /// Params token.
+ /// Corresponds to the <params> tag.
+ public const String PARAMS = "params";
+ /// MethodCall token.
+ /// Corresponds to the <methodCall> tag.
+ public const String METHOD_CALL = "methodCall";
+ /// MethodName token.
+ /// Corresponds to the <methodName> tag.
+ public const String METHOD_NAME = "methodName";
+ /// MethodResponse token
+ /// Corresponds to the <methodResponse> tag.
+ public const String METHOD_RESPONSE = "methodResponse";
+ /// Fault response token.
+ /// Corresponds to the <fault> tag.
+ public const String FAULT = "fault";
+ /// FaultCode token.
+ /// Corresponds to the <faultCode> tag.
+ public const String FAULT_CODE = "faultCode";
+ /// FaultString token.
+ /// Corresponds to the <faultString> tag.
+ public const String FAULT_STRING = "faultString";
+ }
+}
+
+
--
cgit v1.1