X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=include%2Fyaz-pdu-observer.h;h=f89436fade48289291a19ed9aa9ee3f99974b035;hb=c6e5ad789740135af3558298f6e2014ae99ee7dd;hp=cd4d24697b95b7a8b1f012bf65c4de7e895f637d;hpb=cc44793fb69db2885c570cc5de05fda796993bba;p=yazpp-moved-to-github.git diff --git a/include/yaz-pdu-observer.h b/include/yaz-pdu-observer.h index cd4d246..f89436f 100644 --- a/include/yaz-pdu-observer.h +++ b/include/yaz-pdu-observer.h @@ -4,7 +4,13 @@ * Sebastian Hammer, Adam Dickmeiss * * $Log: yaz-pdu-observer.h,v $ - * Revision 1.3 1999-02-02 14:01:14 adam + * Revision 1.5 1999-04-09 11:47:23 adam + * Added object Yaz_Z_Assoc. Much more functional client. + * + * Revision 1.4 1999/03/23 14:17:57 adam + * More work on timeout handling. Work on yaz-client. + * + * Revision 1.3 1999/02/02 14:01:14 adam * First WIN32 port of YAZ++. * * Revision 1.2 1999/01/28 13:08:41 adam @@ -41,6 +47,8 @@ class YAZ_EXPORT IYaz_PDU_Observable { virtual IYaz_PDU_Observable *clone() = 0; /// Destroy completely virtual void destroy() = 0; + /// Set Idle Time + virtual void idleTime (int timeout) = 0; }; /** Protocol Data Unit Observer. @@ -55,6 +63,8 @@ class YAZ_EXPORT IYaz_PDU_Observer { virtual void connectNotify() = 0; /// Called whenever the connection was closed virtual void failNotify() = 0; + /// 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; };