/*
- * Copyright (c) 1998-2000, Index Data.
+ * Copyright (c) 1998-2005, Index Data.
* See the file LICENSE for details.
*
- * $Id: ir-assoc.h,v 1.3 2003-12-16 14:17:01 adam Exp $
+ * $Id: ir-assoc.h,v 1.6 2005-06-25 15:53:19 adam Exp $
*/
#include <yaz++/z-assoc.h>
#include <yaz++/z-query.h>
+namespace yazpp_1 {
/** Information Retrieval Assocation.
This object implements the client - and server role of a generic
Z39.50 Association.
*/
-class YAZ_EXPORT Yaz_IR_Assoc: public Yaz_Z_Assoc {
+class YAZ_EXPORT IR_Assoc: public Z_Assoc {
public:
/// Create object using the PDU Observer specified
- Yaz_IR_Assoc(IYaz_PDU_Observable *the_PDU_Observable);
+ IR_Assoc(IPDU_Observable *the_PDU_Observable);
/// Destroy assocation and close PDU Observer
- virtual ~Yaz_IR_Assoc();
+ virtual ~IR_Assoc();
/// Receive Z39.50 PDU
void recv_Z_PDU(Z_APDU *apdu, int len);
void recv_GDU(Z_GDU *apdu, int len);
int m_lastReceived;
int m_log;
};
+};
+/*
+ * Local variables:
+ * c-basic-offset: 4
+ * indent-tabs-mode: nil
+ * End:
+ * vim: shiftwidth=4 tabstop=8 expandtab
+ */
+