X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=include%2Fyaz-pdu-assoc.h;h=6576bb1728e30030e76ec3223ec40b873459dd19;hb=b35b70078e2c4fb3af710cfc5b9319bfcc7073dd;hp=3ff7ff51d499a3c8c83857a4b6ac96dad004ea96;hpb=316df82985a4207a7d52e7d88567bf26d5c2c7c8;p=yazpp-moved-to-github.git diff --git a/include/yaz-pdu-assoc.h b/include/yaz-pdu-assoc.h index 3ff7ff5..6576bb1 100644 --- a/include/yaz-pdu-assoc.h +++ b/include/yaz-pdu-assoc.h @@ -2,9 +2,12 @@ * Copyright (c) 1998-2000, Index Data. * See the file LICENSE for details. * - * $Id: yaz-pdu-assoc.h,v 1.8 2000-09-08 10:23:42 adam Exp $ + * $Id: yaz-pdu-assoc.h,v 1.11 2000-09-12 16:40:33 heikki Exp $ */ +#ifndef YAZ_PDU_ASSOC_INCLUDED +#define YAZ_PDU_ASSOC_INCLUDED + #include #include #include @@ -29,7 +32,6 @@ class YAZ_EXPORT Yaz_PDU_Assoc : public IYaz_PDU_Observable, IYazSocketObserver Yaz_PDU_Assoc *m_parent; Yaz_PDU_Assoc *m_children; Yaz_PDU_Assoc *m_next; - COMSTACK Yaz_PDU_Assoc::comstack(); COMSTACK m_cs; IYazSocketObservable *m_socketObservable; IYaz_PDU_Observer *m_PDU_Observer; @@ -41,10 +43,11 @@ class YAZ_EXPORT Yaz_PDU_Assoc : public IYaz_PDU_Observable, IYazSocketObserver int m_idleTime; int m_log; public: + COMSTACK comstack(); /// Create object using specified socketObservable Yaz_PDU_Assoc(IYazSocketObservable *socketObservable); /// Close socket and destroy object. - virtual ~Yaz_PDU_Assoc(); + /// virtual ~Yaz_PDU_Assoc(); /// Clone the object IYaz_PDU_Observable *clone(); /// Send PDU @@ -66,3 +69,5 @@ class YAZ_EXPORT Yaz_PDU_Assoc : public IYaz_PDU_Observable, IYazSocketObserver /// Child start... virtual void childNotify(int fd); }; + +#endif \ No newline at end of file