Commit | Line | Data |
61962ef7 |
1 | /* |
2 | * @(#)FCGIRequest.java |
3 | * |
4 | * FastCGi compatibility package Interface |
5 | * |
6 | * Copyright (c) 1996 Open Market, Inc. |
7 | * |
8 | * See the file "LICENSE.TERMS" for information on usage and redistribution |
9 | * of this file, and for a DISCLAIMER OF ALL WARRANTIES. |
10 | * |
07c41236 |
11 | * $Id: FCGIRequest.java,v 1.2 2000/03/21 12:02:29 robs Exp $ |
61962ef7 |
12 | */ |
07c41236 |
13 | package com.fastcgi; |
61962ef7 |
14 | |
15 | import java.net.*; |
16 | import java.io.FileDescriptor; |
17 | import java.util.Properties; |
07c41236 |
18 | |
61962ef7 |
19 | public class FCGIRequest { |
20 | |
21 | /* This class has no methods. Right now we are single threaded |
22 | * so there is only one request object at any given time which |
23 | * is refrenced by an FCGIInterface class variable . All of this |
24 | * object's data could just as easily be declared directly there. |
25 | * When we thread, this will change, so we might as well use a |
26 | * seperate class. In line with this thinking, though somewhat |
27 | * more perversely, we kept the socket here. |
28 | */ |
29 | /* |
30 | * class variables |
31 | */ |
32 | /*public static Socket socket; */ |
33 | // same for all requests |
34 | |
35 | /* |
36 | * instance variables |
37 | */ |
38 | public Socket socket; |
39 | public boolean isBeginProcessed; |
40 | public int requestID; |
41 | public boolean keepConnection; |
42 | public int role; |
43 | public int appStatus; |
44 | public int numWriters; |
45 | public FCGIInputStream inStream; |
46 | public FCGIOutputStream outStream; |
47 | public FCGIOutputStream errStream; |
48 | public Properties params; |
49 | } |
50 | |
51 | |