Author: tedross
Date: 2007-11-13 12:10:06 -0500 (Tue, 13 Nov 2007)
New Revision: 1299
Modified:
mgmt/mint/xml/MgmtSchema.xml
mgmt/mint/xml/MgmtTypes.xml
Log:
Updated schema XML
Modified: mgmt/mint/xml/MgmtSchema.xml
===================================================================
--- mgmt/mint/xml/MgmtSchema.xml 2007-11-13 16:47:39 UTC (rev 1298)
+++ mgmt/mint/xml/MgmtSchema.xml 2007-11-13 17:10:06 UTC (rev 1299)
@@ -82,6 +82,7 @@
<arg name="sequence" dir="IO" type="uint32"
default="0"/>
<arg name="body" dir="IO" type="lstr"
default=""/>
</method>
+ <method name="crash" desc="Temporary test method to crash the
broker"/>
</class>
<!--
@@ -142,6 +143,7 @@
<method name="increaseDiskSize" desc="Increase number of disk pages
allocated for this queue">
<arg name="pages" type="uint32" dir="I"
desc="New total page allocation"/>
</method>
+
</class>
<!--
Modified: mgmt/mint/xml/MgmtTypes.xml
===================================================================
--- mgmt/mint/xml/MgmtTypes.xml 2007-11-13 16:47:39 UTC (rev 1298)
+++ mgmt/mint/xml/MgmtTypes.xml 2007-11-13 17:10:06 UTC (rev 1299)
@@ -19,23 +19,30 @@
under the License.
-->
-<type name="objId" base="u64" cpp="uint64_t"
encode="@.putLongLong(#)" decode="# = @.getLongLong()"
accessor="direct"/>
-<type name="uint8" base="u8" cpp="uint8_t"
encode="@.putOctet(#)" decode="# = @.getOctet()"
accessor="direct"/>
-<type name="uint16" base="u16" cpp="uint16_t"
encode="@.putShort(#)" decode="# = @.getShort()"
accessor="direct"/>
-<type name="uint32" base="u32" cpp="uint32_t"
encode="@.putLong(#)" decode="# = @.getLong()"
accessor="direct"/>
-<type name="uint64" base="u64" cpp="uint64_t"
encode="@.putLongLong(#)" decode="# = @.getLongLong()"
accessor="direct"/>
-<type name="bool" base="u8" cpp="bool"
encode="@.putOctet(#?1:0)" decode="# = @.getOctet()==1"
accessor="direct"/>
-<type name="sstr" base="sstr" cpp="std::string"
encode="@.putShortString(#)" decode="@.getShortString(#)"
accessor="direct"/>
-<type name="lstr" base="lstr" cpp="std::string"
encode="@.putLongString(#)" decode="@.getLongString(#)"
accessor="direct"/>
+<type name="objId" base="U64" cpp="uint64_t"
encode="@.putLongLong(#)" decode="# = @.getLongLong()"
accessor="direct"/>
+<type name="uint8" base="U8" cpp="uint8_t"
encode="@.putOctet(#)" decode="# = @.getOctet()"
accessor="direct"/>
+<type name="uint16" base="U16" cpp="uint16_t"
encode="@.putShort(#)" decode="# = @.getShort()"
accessor="direct"/>
+<type name="uint32" base="U32" cpp="uint32_t"
encode="@.putLong(#)" decode="# = @.getLong()"
accessor="direct"/>
+<type name="uint64" base="U64" cpp="uint64_t"
encode="@.putLongLong(#)" decode="# = @.getLongLong()"
accessor="direct"/>
+<type name="bool" base="U8" cpp="bool"
encode="@.putOctet(#?1:0)" decode="# = @.getOctet()==1"
accessor="direct"/>
+<type name="sstr" base="SSTR" cpp="std::string"
encode="@.putShortString(#)" decode="@.getShortString(#)"
accessor="direct"/>
+<type name="lstr" base="LSTR" cpp="std::string"
encode="@.putLongString(#)" decode="@.getLongString(#)"
accessor="direct"/>
-<type name="hilo8" base="u8" cpp="uint8_t"
encode="@.putOctet(#)" decode="# = @.getOctet()"
style="wm" accessor="counter"/>
-<type name="hilo16" base="u16" cpp="uint16_t"
encode="@.putShort(#)" decode="# = @.getShort()"
style="wm" accessor="counter"/>
-<type name="hilo32" base="u32" cpp="uint32_t"
encode="@.putLong(#)" decode="# = @.getLong()"
style="wm" accessor="counter"/>
-<type name="hilo64" base="u64" cpp="uint64_t"
encode="@.putLongLong(#)" decode="# = @.getLongLong()"
style="wm" accessor="counter"/>
+<type name="hilo8" base="U8" cpp="uint8_t"
encode="@.putOctet(#)" decode="# = @.getOctet()"
style="wm" accessor="counter"/>
+<type name="hilo16" base="U16" cpp="uint16_t"
encode="@.putShort(#)" decode="# = @.getShort()"
style="wm" accessor="counter"/>
+<type name="hilo32" base="U32" cpp="uint32_t"
encode="@.putLong(#)" decode="# = @.getLong()"
style="wm" accessor="counter"/>
+<type name="hilo64" base="U64" cpp="uint64_t"
encode="@.putLongLong(#)" decode="# = @.getLongLong()"
style="wm" accessor="counter"/>
-<type name="count8" base="u8" cpp="uint8_t"
encode="@.putOctet(#)" decode="# = @.getOctet()"
accessor="counter"/>
-<type name="count16" base="u16" cpp="uint16_t"
encode="@.putShort(#)" decode="# = @.getShort()"
accessor="counter"/>
-<type name="count32" base="u32" cpp="uint32_t"
encode="@.putLong(#)" decode="# = @.getLong()"
accessor="counter"/>
-<type name="count64" base="u64" cpp="uint64_t"
encode="@.putLongLong(#)" decode="# = @.getLongLong()"
accessor="counter"/>
+<type name="count8" base="U8" cpp="uint8_t"
encode="@.putOctet(#)" decode="# = @.getOctet()"
accessor="counter"/>
+<type name="count16" base="U16" cpp="uint16_t"
encode="@.putShort(#)" decode="# = @.getShort()"
accessor="counter"/>
+<type name="count32" base="U32" cpp="uint32_t"
encode="@.putLong(#)" decode="# = @.getLong()"
accessor="counter"/>
+<type name="count64" base="U64" cpp="uint64_t"
encode="@.putLongLong(#)" decode="# = @.getLongLong()"
accessor="counter"/>
+<!-- Some Proposed Syntax for User-Defined Types:
+<enum name="enumeratedType" base="U8">
+ <item name="value-name1" value="1"/>
+ <item name="value-name2" value="2"/>
+</enum>
+-->
+
</schema-types>
Show replies by date