01: /*
02: * Licensed to the Apache Software Foundation (ASF) under one
03: * or more contributor license agreements. See the NOTICE file
04: * distributed with this work for additional information
05: * regarding copyright ownership. The ASF licenses this file
06: * to you under the Apache License, Version 2.0 (the
07: * "License"); you may not use this file except in compliance
08: * with the License. You may obtain a copy of the License at
09: *
10: * http://www.apache.org/licenses/LICENSE-2.0
11: *
12: * Unless required by applicable law or agreed to in writing,
13: * software distributed under the License is distributed on an
14: * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15: * KIND, either express or implied. See the License for the
16: * specific language governing permissions and limitations
17: * under the License.
18: */
19: package org.apache.geronimo.tomcat.connector;
20:
21: public interface Ajp13Protocol {
22: //AJP
23: public String getAddress();
24:
25: public void setAddress(String address);
26:
27: public int getBacklog();
28:
29: public void setBacklog(int backlog);
30:
31: public int getBufferSize();
32:
33: public void setBufferSize(int bufferSize);
34:
35: public int getConnectionTimeout();
36:
37: public void setConnectionTimeout(int connectionTimeout);
38:
39: public String getExecutor();
40:
41: public void setExecutor(String executor);
42:
43: public String getHost();
44:
45: public void setHost(String address);
46:
47: public int getKeepAliveTimeout();
48:
49: public void setKeepAliveTimeout(int keepAliveTimeout);
50:
51: public int getMaxThreads();
52:
53: public void setMaxThreads(int maxThreads);
54:
55: public int getMaxSpareThreads();
56:
57: public void setMaxSpareThreads(int maxSpareThreads);
58:
59: public int getMinSpareThreads();
60:
61: public void setMinSpareThreads(int minSpareThreads);
62:
63: public int getPort();
64:
65: public void setPort(int port);
66:
67: public boolean getTcpNoDelay();
68:
69: public void setTcpNoDelay(boolean tcpNoDelay);
70:
71: public boolean getTomcatAuthentication();
72:
73: public void setTomcatAuthentication(boolean tomcatAuthentication);
74: }
|