00001 /** @file 00002 00003 A brief file description 00004 00005 @section license License 00006 00007 Licensed to the Apache Software Foundation (ASF) under one 00008 or more contributor license agreements. See the NOTICE file 00009 distributed with this work for additional information 00010 regarding copyright ownership. The ASF licenses this file 00011 to you under the Apache License, Version 2.0 (the 00012 "License"); you may not use this file except in compliance 00013 with the License. You may obtain a copy of the License at 00014 00015 http://www.apache.org/licenses/LICENSE-2.0 00016 00017 Unless required by applicable law or agreed to in writing, software 00018 distributed under the License is distributed on an "AS IS" BASIS, 00019 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 00020 See the License for the specific language governing permissions and 00021 limitations under the License. 00022 */ 00023 00024 /**************************************************************************** 00025 00026 P_SSLNetAccept.h 00027 00028 00029 NetAccept is a generalized facility which allows 00030 Connections of different classes to be accepted either 00031 from a blockable thread or by adaptive polling. 00032 00033 It is used by the NetProcessor and the ClusterProcessor 00034 and should be considered PRIVATE to processor implementations. 00035 00036 00037 00038 ****************************************************************************/ 00039 #if !defined (_SSLNetAccept_h_) 00040 #define _SSLNetAccept_h_ 00041 00042 #include "libts.h" 00043 #include "P_Connection.h" 00044 #include "P_NetAccept.h" 00045 00046 class Event; 00047 class UnixNetVConnection; 00048 00049 // 00050 // NetAccept 00051 // Handles accepting connections. 00052 // 00053 struct SSLNetAccept: public NetAccept 00054 { 00055 virtual NetProcessor * getNetProcessor() const; 00056 virtual EventType getEtype() const; 00057 virtual void init_accept_per_thread(); 00058 virtual NetAccept *clone() const; 00059 00060 SSLNetAccept() 00061 { }; 00062 00063 virtual ~SSLNetAccept() 00064 { }; 00065 00066 }; 00067 #endif