incoming_connection_handler.cpp

00001 
00002 /***************************************************************************
00003  *  connection_handler.h - handler managing incoming connections
00004  *
00005  *  Created: Tue Nov 13 16:17:34 2007
00006  *  Copyright  2006-2007  Tim Niemueller [www.niemueller.de]
00007  *
00008  ****************************************************************************/
00009 
00010 /*  This program is free software; you can redistribute it and/or modify
00011  *  it under the terms of the GNU General Public License as published by
00012  *  the Free Software Foundation; either version 2 of the License, or
00013  *  (at your option) any later version. A runtime exception applies to
00014  *  this software (see LICENSE.GPL_WRE file mentioned below for details).
00015  *
00016  *  This program is distributed in the hope that it will be useful,
00017  *  but WITHOUT ANY WARRANTY; without even the implied warranty of
00018  *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00019  *  GNU Library General Public License for more details.
00020  *
00021  *  Read the full text in the LICENSE.GPL_WRE file in the doc directory.
00022  */
00023 
00024 #include <netcomm/utils/incoming_connection_handler.h>
00025 
00026 namespace fawkes {
00027 
00028 /** @class NetworkIncomingConnectionHandler <netcomm/utils/incoming_connection_handler.h>
00029  * Interface for handling incoming connections.
00030  * @author Tim Niemueller
00031  *
00032  * @fn void NetworkIncomingConnectionHandler::add_connection(StreamSocket *s) throw() = 0
00033  * Add an incoming connection.
00034  * This is called for instance by the NetworkAcceptorThread whenever a new connection has
00035  * been accepted.
00036  * @param s socket for new connection
00037  */
00038 
00039 /** Virtual destructor. */
00040 NetworkIncomingConnectionHandler::~NetworkIncomingConnectionHandler()
00041 {
00042 }
00043 
00044 } // end namespace fawkes

Generated on Tue Feb 22 13:31:27 2011 for Fawkes API by  doxygen 1.4.7