X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=include%2Fyaz%2B%2B%2Fyaz-pdu-observer.h;h=61daf7893ae47fd132e7803ce53fab5d30d34d2c;hb=5238ea544d4a2b414592f1d503f5ed83f305b21b;hp=eac1de49a468ff73f34836ed09ddace6f131e451;hpb=e3133d2f2c580f76c9da2e7621c74a064f0955c9;p=yazpp-moved-to-github.git diff --git a/include/yaz++/yaz-pdu-observer.h b/include/yaz++/yaz-pdu-observer.h index eac1de4..61daf78 100644 --- a/include/yaz++/yaz-pdu-observer.h +++ b/include/yaz++/yaz-pdu-observer.h @@ -2,7 +2,7 @@ * Copyright (c) 1998-2000, Index Data. * See the file LICENSE for details. * - * $Id: yaz-pdu-observer.h,v 1.1 2000-10-11 11:58:16 adam Exp $ + * $Id: yaz-pdu-observer.h,v 1.3 2001-03-26 14:43:49 adam Exp $ */ #ifndef YAZ_PDU_OBSERVER_H @@ -32,8 +32,6 @@ class YAZ_EXPORT IYaz_PDU_Observable { virtual void destroy() = 0; /// Set Idle Time virtual void idleTime (int timeout) = 0; - /// open with existing socket - virtual void socket(IYaz_PDU_Observer *observer, int fd) = 0; }; /** Protocol Data Unit Observer. @@ -51,7 +49,8 @@ class YAZ_EXPORT IYaz_PDU_Observer { /// Called whenever there is a timeout virtual void timeoutNotify() = 0; /// Make clone of observer using IYaz_PDU_Observable interface - virtual IYaz_PDU_Observer *clone(IYaz_PDU_Observable *the_PDU_Observable) = 0; + virtual IYaz_PDU_Observer *sessionNotify( + IYaz_PDU_Observable *the_PDU_Observable, int fd) = 0; }; #endif