001 /* 002 * Licensed to the Apache Software Foundation (ASF) under one 003 * or more contributor license agreements. See the NOTICE file 004 * distributed with this work for additional information 005 * regarding copyright ownership. The ASF licenses this file 006 * to you under the Apache License, Version 2.0 (the 007 * "License"); you may not use this file except in compliance 008 * with the License. You may obtain a copy of the License at 009 * 010 * http://www.apache.org/licenses/LICENSE-2.0 011 * 012 * Unless required by applicable law or agreed to in writing, 013 * software distributed under the License is distributed on an 014 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 015 * KIND, either express or implied. See the License for the 016 * specific language governing permissions and limitations 017 * under the License. 018 */ 019 package org.apache.geronimo.tomcat.connector; 020 021 public interface Ajp13Protocol { 022 //AJP 023 public String getAddress(); 024 public void setAddress(String address); 025 public int getBacklog(); 026 public void setBacklog(int backlog); 027 public int getBufferSize(); 028 public void setBufferSize(int bufferSize); 029 public int getConnectionTimeout(); 030 public void setConnectionTimeout(int connectionTimeout); 031 public String getExecutor(); 032 public void setExecutor(String executor); 033 public String getHost(); 034 public void setHost(String address); 035 public int getKeepAliveTimeout(); 036 public void setKeepAliveTimeout(int keepAliveTimeout); 037 public int getMaxThreads(); 038 public void setMaxThreads(int maxThreads); 039 public int getMaxSpareThreads(); 040 public void setMaxSpareThreads(int maxSpareThreads); 041 public int getMinSpareThreads(); 042 public void setMinSpareThreads(int minSpareThreads); 043 public int getPort(); 044 public void setPort(int port); 045 public boolean getTcpNoDelay(); 046 public void setTcpNoDelay(boolean tcpNoDelay); 047 public boolean getTomcatAuthentication(); 048 public void setTomcatAuthentication(boolean tomcatAuthentication); 049 }