/[dgee]/dgee/cslib/System/Web/Services/WebService.cs
ViewVC logotype

Diff of /dgee/cslib/System/Web/Services/WebService.cs

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

revision 1.1 by npg, Mon Jul 7 16:23:52 2003 UTC revision 1.2 by csmith, Sun Sep 21 10:55:48 2003 UTC
# Line 0  Line 1 
1    /*
2     * DotGNU ASP.GNU Implementation
3     *
4     * Copyright (C) 2003 DotGNU Project
5     *              
6     *
7     * This program is free software; you can redistribute it and/or modify
8     * it under the terms of the GNU General Public License as published by
9     * the Free Software Foundation; either version 2 of the License, or
10     * (at your option) any later version.
11     *
12     * This program is distributed in the hope that it will be useful,
13     * but WITHOUT ANY WARRANTY; without even the implied warranty of
14     * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15     * GNU General Public License for more details.
16     *
17     * You should have received a copy of the GNU General Public License
18     * along with this program; if not, write to the Free Software
19     * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
20     *
21     * $Revision$  $Date$
22     *
23     * --------------------------------------------------------------------------
24     * Authors:
25     *   Nicolai P Guba
26     */
27    namespace System.Web.Services
28    {
29      using System.ComponentModel;
30      using System.Web;
31      using System.Web.SessionState;
32      using System.Security.Principal;
33    
34      public class WebService : MarshalByValueComponent
35      {
36        private HttpApplicationState application;
37        private HttpContext context;
38        private HttpServerUtility server;
39        private HttpSessionState session;
40        private IPrincipal user;
41    
42        public WebService()
43        {
44                    application = new HttpApplicationState();
45        }
46    
47        public HttpApplicationState Application
48        {
49          get { return this.application; }
50        }
51      
52        public HttpContext Context
53        {
54          get { return this.context; }
55        }
56      
57        public HttpServerUtility Server
58        {
59          get { return this.server; }
60        }
61      
62        public HttpSessionState Session
63        {
64          get { return this.session; }
65        }
66      
67        public IPrincipal User
68        {
69          get { return this.user; }
70        }  
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