X-Git-Url: http://sru.miketaylor.org.uk/?a=blobdiff_plain;f=include%2Fyaz%2B%2B%2Fir-assoc.h;h=6e5e12fe626ad791aba0017c48da11b0fb8d7c73;hb=76d66b222afff97cf367a3e7b8bfe045a62d0d57;hp=aed30c6d009d92fc223cfc18b5ad1ea8b21cfb7f;hpb=28588b9224eb5189af32b10f440ef2a917a05ea2;p=yazpp-moved-to-github.git diff --git a/include/yaz++/ir-assoc.h b/include/yaz++/ir-assoc.h index aed30c6..6e5e12f 100644 --- a/include/yaz++/ir-assoc.h +++ b/include/yaz++/ir-assoc.h @@ -1,25 +1,27 @@ /* - * Copyright (c) 1998-2000, Index Data. + * Copyright (c) 1998-2005, Index Data. * See the file LICENSE for details. * - * $Id: ir-assoc.h,v 1.2 2003-10-01 13:13:51 adam Exp $ + * $Id: ir-assoc.h,v 1.6 2005-06-25 15:53:19 adam Exp $ */ #include #include +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); /// Set Database Names void set_databaseNames (int num, const char **list); void set_databaseNames(const char *dblist, const char *sep); @@ -77,3 +79,12 @@ class YAZ_EXPORT Yaz_IR_Assoc: public Yaz_Z_Assoc { int m_lastReceived; int m_log; }; +}; +/* + * Local variables: + * c-basic-offset: 4 + * indent-tabs-mode: nil + * End: + * vim: shiftwidth=4 tabstop=8 expandtab + */ +