From 9ed0a8dbad121b64ca8baca78f28ca58602c47ca Mon Sep 17 00:00:00 2001
From: MW
Date: Wed, 25 Apr 2007 18:12:06 +0000
Subject: updated to use lastest version of libsl but is currently broke when
using SL viewer 1.15.02, due to big changes in the message templates.
---
XmlRpcCS/XmlRpcXmlTokens.cs | 76 +++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 76 insertions(+)
create mode 100644 XmlRpcCS/XmlRpcXmlTokens.cs
(limited to 'XmlRpcCS/XmlRpcXmlTokens.cs')
diff --git a/XmlRpcCS/XmlRpcXmlTokens.cs b/XmlRpcCS/XmlRpcXmlTokens.cs
new file mode 100644
index 0000000..50788bd
--- /dev/null
+++ b/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