File: variables.lisp

package info (click to toggle)
cl-modlisp 0.6-3
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 92 kB
  • ctags: 38
  • sloc: lisp: 257; makefile: 50; sh: 28
file content (42 lines) | stat: -rw-r--r-- 1,284 bytes parent folder | download | duplicates (3)
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
;;;; -*- Mode: Lisp; Syntax: ANSI-Common-Lisp; Base: 10; Package: modlisp -*-
;;;; *************************************************************************
;;;; FILE IDENTIFICATION
;;;;
;;;; Name:          base.lisp
;;;; Purpose:       Base data and functions for modlisp package
;;;; Programmer:    Kevin M. Rosenberg
;;;; Date Started:  Dec 2002
;;;;
;;;; $Id: variables.lisp 7061 2003-09-07 06:34:45Z kevin $
;;;; *************************************************************************

(in-package #:modlisp)

(defconstant +default-modlisp-port+ 20123
  "Default port for listen")

(defvar *modlisp-socket* nil
  "the socket stream to modlisp")

(defvar *number-server-requests* 0
  "number of requests for the server")

(defvar *number-worker-requests* 0
  "number of requests for this worker process")

(defvar *close-modlisp-socket* t
  "whether to close the modlisp socket at the end of this request")


(defvar *ml-server* nil "Current ml-server instance")

(defclass ml-server ()
  ((listener :initarg :listener :initform nil :accessor listener)
   (port :initarg :port :initform nil :accessor port)
   (processor :initarg :processor :initform nil :accessor processor)
   (processor-args :initarg :processor-args :initform nil
		   :accessor processor-args)))