X-Git-Url: http://sru.miketaylor.org.uk/?a=blobdiff_plain;f=include%2Fyaz%2B%2B%2Fyaz-pdu-observer.h;h=61daf7893ae47fd132e7803ce53fab5d30d34d2c;hb=19db153df3124f15689496768049bb73c3011a69;hp=99cd5a9e594a0a9a0f373aa03e8ea02f3871e520;hpb=3b58e2f8d81f47c9c9cc86dbd2cdebf8621d8559;p=yazpp-moved-to-github.git diff --git a/include/yaz++/yaz-pdu-observer.h b/include/yaz++/yaz-pdu-observer.h index 99cd5a9..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.2 2000-11-01 14:22:59 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,8 +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, - int fd) = 0; + virtual IYaz_PDU_Observer *sessionNotify( + IYaz_PDU_Observable *the_PDU_Observable, int fd) = 0; }; #endif