/[dgee]/dgee/admin/admin.cs
ViewVC logotype

Diff of /dgee/admin/admin.cs

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

revision 1.1 by csmith, Sun Jun 22 16:55:09 2003 UTC revision 1.2 by csmith, Sun Sep 21 11:07:41 2003 UTC
# Line 0  Line 1 
1    namespace DGEE.Admin
2    {
3    using System;
4    using DotGNU.XmlRpc;
5    
6    [WebService(Description="These methods implement the DGEE administration interface security, login in and so forth", Namespace="http://nfluid.com")]
7    public sealed class Security
8    {
9        public Security() : base() {}
10    
11        [WebMethod("DGEELogin", Description="Handles the session login for clients whishing to act as DGEE administrators")]
12        public static String DGEELogin( String user )
13            {
14              return "";
15            }
16    };
17    
18    [WebService(Description="These methods implement the installation and removal of webservices from the DGEE.")]
19    public sealed class WSInstall
20    {
21        public WSInstall() : base() {}
22    
23        [WebMethod(Description="Install a webservice in the DGEE")]
24        public static String Install( String ID, String bcMime, String bytecode, String dgmxMime, String DGMX )
25            {
26              return "";
27            }
28    
29        [WebMethod(Description="Uninstall a webservice in the DGEE")]
30        public static String Remove( String ID, String DGMXName )
31            {
32              return "";
33            }
34    
35        [WebMethod(Description="Disable a webservice in the DGEE")]
36        public static String Disable( String ID, String DGMXName )
37            {
38              return "";
39            }
40    
41        [WebMethod(Description="Enable a webservice in the DGEE")]
42        public static String Enable( String ID, String DGMXName )
43            {
44              return "";
45            }
46    
47    };
48    
49    [WebService(Description="These methods implement the webservice browsing functionality")]
50    public sealed class WSBrowse
51    {
52        public WSBrowse() : base() {}
53    
54        [WebMethod(Description="List webservices currently installed, ordered and filtered on specified criteria")]
55        public static int ListWS( String ID, String order, String filter, String serial )
56            {
57              // TODO Return struct DGMX Name, Group, Status
58              return 123456; // Some serial
59            }
60    
61        [WebMethod(Description="Returns the DGMX file for the specified webservice")]
62        public static String GetDGMX( String ID, String DGMXName )
63            {
64              return "some dgmx";
65            }
66    
67        [WebMethod(Description="Provides some statistics for the requested webservice")]
68        public static String WSStats( String ID, String DGMXName, String methodName )
69            {
70              return "some webservice stats";
71            }
72    };
73    
74    }

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