File: FCGIRequest.java

package info (click to toggle)
libfcgi 2.4.5-0.1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,296 kB
  • sloc: ansic: 4,946; java: 872; cpp: 292; makefile: 178; perl: 145; sh: 4
file content (53 lines) | stat: -rw-r--r-- 1,542 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
/*
 * @(#)FCGIRequest.java
 *
 *  FastCGi compatibility package Interface
 *
 *  Copyright (c) 1996 Open Market, Inc.
 *
 * See the file "LICENSE" for information on usage and redistribution
 * of this file, and for a DISCLAIMER OF ALL WARRANTIES.
 *
 * $Id: FCGIRequest.java,v 1.3 2000/03/21 12:12:26 robs Exp $
 */
package com.fastcgi;

import java.net.*;
import java.io.FileDescriptor;
import java.util.Properties;

public class FCGIRequest 
{
    private static final String RCSID = "$Id: FCGIRequest.java,v 1.3 2000/03/21 12:12:26 robs Exp $";

    /* This class has no methods. Right now we are single threaded
    * so there is only one request object at any given time which
    * is referenced by an FCGIInterface class variable . All of this
    * object's data could just as easily be declared directly there.
    * When we thread, this will change, so we might as well use a
    * separate class. In line with this thinking, though somewhat
    * more perversely, we kept the socket here.
    */
    /*
     * class variables
     */
    /*public static Socket  socket; */
    // same for all requests

    /*
     * instance variables
     */
    public Socket       socket;
    public boolean      isBeginProcessed;
    public int      requestID;
    public boolean      keepConnection;
    public int      role;
    public int      appStatus;
    public int      numWriters;
    public FCGIInputStream  inStream;
    public FCGIOutputStream outStream;
    public FCGIOutputStream errStream;
    public Properties   params;
}