/[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 by npg, Mon Jul 7 10:01:23 2003 UTC revision 1.2 by csmith, Sun Sep 21 10:55:47 2003 UTC
# Line 0  Line 1 
1    /*
2     * DotGNU XmlRpc implementation
3     *
4     * Copyright (C) 2002 netFluid Technology Ltd
5     *
6     * This program is free software; you can redistribute it and/or modify
7     * it under the terms of the GNU General Public License as published by
8     * the Free Software Foundation; either version 2 of the License, or
9     * (at your option) any later version.
10     *
11     * This program is distributed in the hope that it will be useful,
12     * but WITHOUT ANY WARRANTY; without even the implied warranty of
13     * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14     * GNU General Public License for more details.
15     *
16     * You should have received a copy of the GNU General Public License
17     * along with this program; if not, write to the Free Software
18     * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
19     *
20     * $Revision$  $Date$
21     *
22     * --------------------------------------------------------------------------
23     */
24    namespace DotGNU.XmlRpc
25    {
26      using System.Reflection;
27    
28      public class XmlRpcRequest
29      {
30        private String     method   = null; // Name of method being called
31        private MethodInfo methinfo = null; // Method info
32        private Object[]   args     = null; // Multi-typed Args to pass to method
33    
34        public String Method
35        {
36          get {
37            return this.method;
38          }
39          set {
40            this.method = value;
41          }
42        }
43        
44        public MethodInfo MethodInformation
45        {
46          get {
47            return this.methinfo;
48          }
49          set {
50            this.methinfo = value;
51          }
52        }
53        
54        public Object[] Arguments
55        {
56          get {
57            return this.args;
58          }
59          set {
60            this.args = value;
61          }
62        }
63        
64        public XmlRpcRequest()
65        {
66        }
67        
68        public XmlRpcRequest( String methodName )
69        {
70          method = methodName;
71        }
72    
73        public XmlRpcRequest( String methodName, MethodInfo minfo )
74          : this( methodName )
75        {
76          methinfo = minfo;
77        }
78    
79        public XmlRpcRequest( String methodName, MethodInfo minfo, Object[] al )
80        {
81          method   = methodName;
82          methinfo = minfo;
83          args     = al;
84        }
85      }
86    }
87    
88    // end

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

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