-/* $Id: p2.cpp,v 1.2 2005-10-06 19:33:58 adam Exp $
+/* $Id: p2.cpp,v 1.5 2005-10-15 14:09:09 adam Exp $
+ Copyright (c) 2005, Index Data.
+
+%LICENSE%
+ */
+/* $Id: p2.cpp,v 1.5 2005-10-15 14:09:09 adam Exp $
Copyright (c) 1998-2005, Index Data.
This file is part of the yaz-proxy.
#include <yaz/diagbib1.h>
#include <yaz/options.h>
+#include "config.hpp"
#include <yaz++/socket-manager.h>
#include "p2_config.h"
#include "p2_frontend.h"
}
P2_Server::P2_Server(IPDU_Observable *the_PDU_Observable,
- ThreadPoolSocketObserver *my_thread,
+ yp2::ThreadPoolSocketObserver *my_thread,
P2_Config *config,
P2_ModuleFactory *modules)
: Z_Assoc(the_PDU_Observable)
PDU_Assoc *my_PDU_Assoc = 0;
- ThreadPoolSocketObserver my_thread(&mySocketManager, config.m_no_threads);
+ yp2::ThreadPoolSocketObserver my_thread(&mySocketManager,
+ config.m_no_threads);
my_PDU_Assoc = new PDU_Assoc(&mySocketManager);
* Local variables:
* c-basic-offset: 4
* indent-tabs-mode: nil
+ * c-file-style: "stroustrup"
* End:
* vim: shiftwidth=4 tabstop=8 expandtab
*/