* Copyright (c) 1998-2000, Index Data.
* See the file LICENSE for details.
*
- * $Id: yaz-pdu-assoc.h,v 1.9 2000-09-12 12:09:53 adam Exp $
+ * $Id: yaz-pdu-assoc.h,v 1.10 2000-09-12 16:04:17 adam Exp $
*/
#include <yaz/comstack.h>
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;
int m_idleTime;
int m_log;
public:
+ COMSTACK comstack();
/// Create object using specified socketObservable
Yaz_PDU_Assoc(IYazSocketObservable *socketObservable);
/// Close socket and destroy object.
* See the file LICENSE for details.
*
* $Log: yaz-server.cpp,v $
- * Revision 1.9 2000-09-12 12:09:53 adam
+ * Revision 1.10 2000-09-12 16:04:17 adam
+ * Added comstack method for Yaz_PDU_Assoc..
+ *
+ * Revision 1.9 2000/09/12 12:09:53 adam
* More work on high-level server.
*
* Revision 1.8 2000/09/08 10:23:42 adam
for (int i = 1; i < argc; i++)
z->server(argv[i]);
}
+ COMSTACK cs = my_PDU_Assoc->comstack();
+ if (cs)
+ printf ("fd=%d\n", cs_fileno(cs));
while (!stop && mySocketManager.processEvent() > 0)
;
logf (LOG_LOG, "bailing out");