/[dgee]/dgee/cslib/DotGNU/DGEE/Protocols/XmlRpc/XmlRpcReplyHandler.cs
ViewVC logotype

Diff of /dgee/cslib/DotGNU/DGEE/Protocols/XmlRpc/XmlRpcReplyHandler.cs

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.1.2.4.2.2 by npg, Tue Jul 22 10:58:11 2003 UTC revision 1.1.2.4.2.3 by npg, Tue Jul 22 14:42:26 2003 UTC
# Line 40  namespace DotGNU.DGEE.Protocols.XmlRpc Line 40  namespace DotGNU.DGEE.Protocols.XmlRpc
40        int i = 1;        int i = 1;
41        double d = 2.0;        double d = 2.0;
42        bool b = false;        bool b = false;
43          byte[] bytes = {0x00, 0x12, 0x34, 0x56, 0xAA, 0x55, 0xFF};
44    
45        h["one"] = i;        h["one"] = i;
46        h["two"] = d;        h["two"] = d;
# Line 48  namespace DotGNU.DGEE.Protocols.XmlRpc Line 49  namespace DotGNU.DGEE.Protocols.XmlRpc
49        XmlRpcStruct h0 = new XmlRpcStruct();        XmlRpcStruct h0 = new XmlRpcStruct();
50        h0["nested one"] = 11;        h0["nested one"] = 11;
51        h0["nested two"] = 22;        h0["nested two"] = 22;
   
52        h["A structure"] = h0;        h["A structure"] = h0;
53                
54        XmlRpcArray a = new XmlRpcArray();        XmlRpcArray a = new XmlRpcArray();
# Line 57  namespace DotGNU.DGEE.Protocols.XmlRpc Line 57  namespace DotGNU.DGEE.Protocols.XmlRpc
57        a.Add( b );        a.Add( b );
58        a.Add( "some dodgy text");        a.Add( "some dodgy text");
59        a.Add( h0 );        a.Add( h0 );
60          a.Add( new DateTime() );
61          a.Add( bytes );
62        h["An array"] = a;        h["An array"] = a;
63        reply = writer.Parse( h );        reply = writer.Parse( h );
64    

Legend:
Removed from v.1.1.2.4.2.2  
changed lines
  Added in v.1.1.2.4.2.3

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26