/[dgee]/dgee/cslib/DotGNU/XmlRpc/XmlRpcRequest.cs
ViewVC logotype

Diff of /dgee/cslib/DotGNU/XmlRpc/XmlRpcRequest.cs

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

revision 1.1.2.2 by npg, Tue Jul 8 17:36:54 2003 UTC revision 1.1.2.3 by npg, Sun Jul 20 11:43:01 2003 UTC
# Line 24  Line 24 
24  namespace DotGNU.XmlRpc  namespace DotGNU.XmlRpc
25  {  {
26    using System.Reflection;    using System.Reflection;
27      using System.Collections;
28    
29    public class XmlRpcRequest    public class XmlRpcRequest
30    {    {
31      private String     method   = null; // Name of method being called      protected String method;     // Name of method being called
32      private MethodInfo methinfo = null; // Method info      protected IList  parameters; // List of parameters being passed
33      private Object[]   args     = null; // Multi-typed Args to pass to method      
34        public XmlRpcRequest()
     public String Method  
35      {      {
       get {  
         return this.method;  
       }  
       set {  
         this.method = value;  
       }  
36      }      }
37            
38      public MethodInfo MethodInformation      public XmlRpcRequest( String methodName )
39      {      {
40        get {        method = methodName;
         return this.methinfo;  
       }  
       set {  
         this.methinfo = value;  
       }  
41      }      }
42            
43      public Object[] Arguments      public String Method
44      {      {
45        get {        get {
46          return this.args;          return this.method;
47        }        }
48        set {        set {
49          this.args = value;          this.method = value;
50        }        }
51      }      }
52            
53      public XmlRpcRequest()      public IList Parameters
     {  
     }  
       
     public XmlRpcRequest( String methodName )  
     {  
       method = methodName;  
     }  
   
     public XmlRpcRequest( String methodName, MethodInfo minfo )  
       : this( methodName )  
     {  
       methinfo = minfo;  
     }  
   
     public XmlRpcRequest( String methodName, MethodInfo minfo, Object[] al )  
54      {      {
55        method   = methodName;        get {
56        methinfo = minfo;          return this.parameters;
57        args     = al;        }
58      }      }
59    }    }
60  }  }

Legend:
Removed from v.1.1.2.2  
changed lines
  Added in v.1.1.2.3

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