5 #include "JAWS/Export.h"
6 #include "JAWS/Data_Block.h"
7 #include "JAWS/Policy.h"
9 class JAWS_IO_Handler_Factory
;
11 class JAWS_Export JAWS_Server
15 JAWS_Server (int argc
, char *argv
[]);
17 void init (int argc
, char *argv
[]);
18 int open (JAWS_Pipeline_Handler
*ph
, JAWS_Dispatch_Policy
*dp
= 0);
21 void parse_args (int argc
, ACE_TCHAR
*argv
[]);
25 int ratio_
; // ratio of asynch ops to threads
26 int port_
; // port to listen on
27 int concurrency_
; // 0 => pool, 1 => per request
28 int dispatch_
; // 0 => synch, 1 => asynch
29 int nthreads_
; // number of threads
30 int maxthreads_
; // maximum number of threads
31 long flags_
; // thread creation flags
33 JAWS_Default_Dispatch_Policy policy_
;
37 #endif /* !defined (JAWS_SERVER_H) */