trivial, email change -- not affecting code
[lwes-dotnet/github-mirror.git] / Org.Lwes / Enums.cs
blobd902af2f47f329e44b2b07a84b2403ddab1e8e27
1 //
2 // This file is part of the LWES .NET Binding (LWES.net)
3 //
4 // COPYRIGHT© 2009, Phillip Clark (phillip[at*flitbit[dot*org)
5 // original .NET implementation
6 //
7 // LWES.net is free software: you can redistribute it and/or modify
8 // it under the terms of the Lesser GNU General Public License as published by
9 // the Free Software Foundation, either version 3 of the License, or
10 // (at your option) any later version.
12 // LWES.net is distributed in the hope that it will be useful,
13 // but WITHOUT ANY WARRANTY; without even the implied warranty of
14 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 // Lesser GNU General Public License for more details.
17 // You should have received a copy of the Lesser GNU General Public License
18 // along with LWES.net. If not, see <http://www.gnu.org/licenses/>.
20 namespace Org.Lwes
22 #region Enumerations
24 /// <summary>
25 /// Supported encodings
26 /// </summary>
27 public enum SupportedEncoding : short
29 /// <summary>
30 /// Value indicating the ISO-8859-1 encoding.
31 /// </summary>
32 ISO_8859_1 = 0,
33 /// <summary>
34 /// Value indicating the UTF-8 encoding.
35 /// </summary>
36 UTF_8 = 1,
37 /// <summary>
38 /// Value indicating the default encoding.
39 /// </summary>
40 Default = UTF_8
43 /// <summary>
44 /// Tokens used in the Event Serialization Protocol
45 /// </summary>
46 public enum TypeToken : byte
48 /// <summary>
49 /// Indicates a UInt16
50 /// </summary>
51 UINT16 = (byte)0x01,
52 /// <summary>
53 /// Indicates an Int16
54 /// </summary>
55 INT16 = (byte)0x02,
56 /// <summary>
57 /// Indicates a UInt32
58 /// </summary>
59 UINT32 = (byte)0x03,
60 /// <summary>
61 /// Indicates an Int32
62 /// </summary>
63 INT32 = (byte)0x04,
64 /// <summary>
65 /// Indicates a string
66 /// </summary>
67 STRING = (byte)0x05,
68 /// <summary>
69 /// Indicates a IP address
70 /// </summary>
71 IP_ADDR = (byte)0x06,
72 /// <summary>
73 /// Indicates an Int64
74 /// </summary>
75 INT64 = (byte)0x07,
76 /// <summary>
77 /// Indicates a UInt64
78 /// </summary>
79 UINT64 = (byte)0x08,
80 /// <summary>
81 /// Indicates a boolean
82 /// </summary>
83 BOOLEAN = (byte)0x09,
84 /// <summary>
85 /// Indicates the token type is undefined
86 /// </summary>
87 UNDEFINED = (byte)0xff,
88 /// <summary>
89 /// Minimum value.
90 /// </summary>
91 MinValue = 0x01,
92 /// <summary>
93 /// Maximum defined value.
94 /// </summary>
95 MaxValue = 0x09
98 #endregion Enumerations