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

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

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

revision 1.1.2.1.2.5.2.1 by npg, Mon Jul 28 19:02:25 2003 UTC revision 1.1.2.1.2.5.2.2 by npg, Mon Aug 11 15:13:41 2003 UTC
# Line 31  namespace DotGNU.XmlRpc Line 31  namespace DotGNU.XmlRpc
31  {  {
32    public class XmlRpcMethod : XmlRpcObject    public class XmlRpcMethod : XmlRpcObject
33    {    {
34        private string assembly;
35        
36      public XmlRpcMethod()      public XmlRpcMethod()
37      {      {
38      }      }
# Line 40  namespace DotGNU.XmlRpc Line 42  namespace DotGNU.XmlRpc
42        methodName = name;        methodName = name;
43      }      }
44    
45      public String Name      public string Name
46      {      {
47        get {        get {
48          return this.methodName;          return this.methodName;
49        }        }
50      }      }
51    
52        public String Assembly
53        {
54          get {
55            return assembly;
56          }
57          set {
58            assembly = value;
59          }
60        }
61            
62      public object Invoke()      public XmlRpcResponse Invoke()
63      {      {
64        // Ensure that we support method aliasing.  Ie the method name        // Ensure that we support method aliasing.  Ie the method name
65        // comes from goldwater and not the xmlrpc request (support for        // comes from goldwater and not the xmlrpc request (support for
66        // method aliasing)        // method aliasing)
67        int i = 5;  
68        return i;        // for now we just return that simple integer
69          XmlRpcResponse response = new XmlRpcResponse();
70          int i = 1234567890;
71          response.Add( i );
72          return response;
73      }      }
74            
75      public override string ToString()      public override string ToString()

Legend:
Removed from v.1.1.2.1.2.5.2.1  
changed lines
  Added in v.1.1.2.1.2.5.2.2

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