X-Git-Url: http://lists.indexdata.com/cgi-bin?a=blobdiff_plain;f=src%2Fyaz-client.cpp;h=a14956e943eeb0e236035582ce8a924705f176ac;hb=bd71f8812ca0f38438733efc89ecce1f49dae9e7;hp=8670d4f17f5564ea85e158e6b612f4b2d63b3f7d;hpb=f304b5971574644559b065a70a0a964a87a55e77;p=yazpp-moved-to-github.git diff --git a/src/yaz-client.cpp b/src/yaz-client.cpp index 8670d4f..a14956e 100644 --- a/src/yaz-client.cpp +++ b/src/yaz-client.cpp @@ -3,7 +3,10 @@ * See the file LICENSE for details. * * $Log: yaz-client.cpp,v $ - * Revision 1.16 2000-11-01 14:22:59 adam + * Revision 1.17 2001-03-26 14:43:49 adam + * New threaded PDU association. + * + * Revision 1.16 2000/11/01 14:22:59 adam * Added fd parameter for method IYaz_PDU_Observer::clone. * * Revision 1.15 2000/10/11 11:58:16 adam @@ -85,7 +88,8 @@ private: public: MyClient(IYaz_PDU_Observable *the_PDU_Observable, Yaz_SocketManager *the_SocketManager); - IYaz_PDU_Observer *clone(IYaz_PDU_Observable *the_PDU_Observable, int fd); + IYaz_PDU_Observer *sessionNotify( + IYaz_PDU_Observable *the_PDU_Observable, int fd); int args(Yaz_SocketManager *socketManager, int argc, char **argv); int interactive(Yaz_SocketManager *socketManager); int wait(); @@ -138,8 +142,8 @@ void MyClient::failNotify() set_lastReceived(-1); } -IYaz_PDU_Observer *MyClient::clone(IYaz_PDU_Observable *the_PDU_Observable, - int fd) +IYaz_PDU_Observer *MyClient::sessionNotify( + IYaz_PDU_Observable *the_PDU_Observable, int fd) { return new MyClient(the_PDU_Observable, m_socketManager); }