Savarese Software Research Corporation
EventPort.h
Go to the documentation of this file.
00001 /*
00002  * Copyright 2009 Savarese Software Research Corporation
00003  *
00004  * Licensed under the Apache License, Version 2.0 (the "License");
00005  * you may not use this file except in compliance with the License.
00006  * You may obtain a copy of the License at
00007  *
00008  *     http://www.savarese.com/software/ApacheLicense-2.0
00009  *
00010  * Unless required by applicable law or agreed to in writing, software
00011  * distributed under the License is distributed on an "AS IS" BASIS,
00012  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
00013  * See the License for the specific language governing permissions and
00014  * limitations under the License.
00015  */
00016 
00022 #ifndef __SSRC_WISP_SERVICE_EVENT_PORT_H
00023 #define __SSRC_WISP_SERVICE_EVENT_PORT_H
00024 
00025 #include <ssrc/wisp-packages.h>
00026 
00027 #if defined(WISP_HAVE_SYS_EPOLL_H) && defined(WISP_HAVE_EPOLL_CREATE)
00028 
00029 #include <ssrc/wisp/service/detail/LinuxEventPort.h>
00030 
00031 __BEGIN_NS_SSRC_WISP_SERVICE
00032 
00033 typedef NS_SSRC_WISP_SERVICE::detail::LinuxEventPort EventPort;
00034 
00035 __END_NS_SSRC_WISP_SERVICE
00036 
00037 #elif defined(WISP_HAVE_PORT_H) && defined(WISP_HAVE_PORT_CREATE)
00038 
00039 #include <ssrc/wisp/service/detail/SolarisEventPort.h>
00040 
00041 __BEGIN_NS_SSRC_WISP_SERVICE
00042 
00043 typedef NS_SSRC_WISP_SERVICE::detail::SolarisEventPort EventPort;
00044 
00045 __END_NS_SSRC_WISP_SERVICE
00046 
00047 #elif defined(WISP_HAVE_SYS_EVENT_H) && defined(WISP_HAVE_KQUEUE)
00048 
00049 #include <ssrc/wisp/service/detail/FreeBSDEventPort.h>
00050 
00051 __BEGIN_NS_SSRC_WISP_SERVICE
00052 
00053 typedef NS_SSRC_WISP_SERVICE::detail::FreeBSDEventPort EventPort;
00054 
00055 __END_NS_SSRC_WISP_SERVICE
00056 
00057 #endif
00058 
00059 #endif

Savarese Software Research Corporation
Copyright © 2006-2010 Savarese Software Research Corporation. All rights reserved.