X-Git-Url: http://git.indexdata.com/?p=yazpp-moved-to-github.git;a=blobdiff_plain;f=include%2Fyaz-pdu-observer.h;h=65e6a156e68a791352693dacbb6614953cad8bcf;hp=292bb953fb5907078f9479ed750faf18e82db45c;hb=b35b70078e2c4fb3af710cfc5b9319bfcc7073dd;hpb=3109185a2036377894be1dd303d899a305b44281 diff --git a/include/yaz-pdu-observer.h b/include/yaz-pdu-observer.h index 292bb95..65e6a15 100644 --- a/include/yaz-pdu-observer.h +++ b/include/yaz-pdu-observer.h @@ -1,9 +1,8 @@ /* - * Copyright (c) 1998-1999, Index Data. + * Copyright (c) 1998-2000, Index Data. * See the file LICENSE for details. - * Sebastian Hammer, Adam Dickmeiss * - * $Id: yaz-pdu-observer.h,v 1.6 1999-04-20 10:30:05 adam Exp $ + * $Id: yaz-pdu-observer.h,v 1.8 2000-09-08 10:23:42 adam Exp $ */ #ifndef YAZ_PDU_OBSERVER_H @@ -33,6 +32,8 @@ 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. @@ -43,7 +44,7 @@ class YAZ_EXPORT IYaz_PDU_Observer { public: /// A PDU has been received virtual void recv_PDU(const char *buf, int len) = 0; - /// Called when Iyaz_PDU_Observabvle::connect was successful. + /// Called when Iyaz_PDU_Observable::connect was successful. virtual void connectNotify() = 0; /// Called whenever the connection was closed virtual void failNotify() = 0;