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