X-Git-Url: http://jsfdemo.indexdata.com/?a=blobdiff_plain;f=src%2Fp2.cpp;h=ced97d1b2ac69e40484d035e235bd3cf55508853;hb=941d13b6a4dc2c2dd0e4bda89d380bfd8991b03b;hp=b586c20f24cbd2881ecf4267af13d51cc2b9df9a;hpb=7993f86c75d0d5ab736b0fd2d1b1bebff35bc95b;p=metaproxy-moved-to-github.git diff --git a/src/p2.cpp b/src/p2.cpp index b586c20..ced97d1 100644 --- a/src/p2.cpp +++ b/src/p2.cpp @@ -1,4 +1,4 @@ -/* $Id: p2.cpp,v 1.2 2005-10-06 19:33:58 adam Exp $ +/* $Id: p2.cpp,v 1.4 2005-10-14 10:27:18 adam Exp $ Copyright (c) 1998-2005, Index Data. This file is part of the yaz-proxy. @@ -25,6 +25,7 @@ Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA #include #include +#include "config.hpp" #include #include "p2_config.h" #include "p2_frontend.h" @@ -57,7 +58,7 @@ void P2_Server::unlockConfig() } 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) @@ -117,7 +118,8 @@ int main(int argc, char **argv) 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);