bump version to 0.82 and prepare for release
[catagits/fcgi2.git] / java / FCGIRequest.java
1 /*
2  * @(#)FCGIRequest.java
3  *
4  *  FastCGi compatibility package Interface
5  *
6  *  Copyright (c) 1996 Open Market, Inc.
7  *
8  * See the file "LICENSE" for information on usage and redistribution
9  * of this file, and for a DISCLAIMER OF ALL WARRANTIES.
10  *
11  * $Id: FCGIRequest.java,v 1.3 2000/03/21 12:12:26 robs Exp $
12  */
13 package com.fastcgi;
14
15 import java.net.*;
16 import java.io.FileDescriptor;
17 import java.util.Properties;
18
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 $";
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