1: <?php
2:
3: namespace PHPFastCGI\FastCGIDaemon;
4:
5: 6: 7: 8:
9: interface DaemonInterface
10: {
11:
12: const FCGI_LISTENSOCK_FILENO = 0;
13:
14:
15: const FCGI_VERSION_1 = 1;
16:
17:
18: const FCGI_BEGIN_REQUEST = 1;
19: const FCGI_ABORT_REQUEST = 2;
20: const FCGI_END_REQUEST = 3;
21: const FCGI_PARAMS = 4;
22: const FCGI_STDIN = 5;
23: const FCGI_STDOUT = 6;
24: const FCGI_STDERR = 7;
25: const FCGI_DATA = 8;
26: const FCGI_GET_VALUES = 9;
27:
28:
29: const FCGI_RESPONDER = 1;
30: const FCGI_AUTHORIZER = 2;
31: const FCGI_FILTER = 3;
32:
33:
34: const FCGI_KEEP_CONNECTION = 1;
35:
36:
37: const FCGI_REQUEST_COMPLETE = 0;
38: const FCGI_CANT_MPX_CONN = 1;
39: const FCGI_OVERLOADED = 2;
40: const FCGI_UNKNOWN_ROLE = 3;
41:
42: 43: 44: 45: 46: 47: 48:
49: public function run();
50: }
51: