2 * Copyright (c) 1998-1999, Index Data.
3 * See the file LICENSE for details.
4 * Sebastian Hammer, Adam Dickmeiss
6 * $Log: yaz-proxy.h,v $
7 * Revision 1.2 1999-02-02 14:01:15 adam
8 * First WIN32 port of YAZ++.
10 * Revision 1.1.1.1 1999/01/28 09:41:07 adam
11 * First implementation of YAZ++.
16 #include <yaz-ir-assoc.h>
21 class YAZ_EXPORT Yaz_ProxyClient : public Yaz_IR_Assoc {
23 Yaz_ProxyClient(IYaz_PDU_Observable *the_PDU_Observable);
24 void recv_Z_PDU(Z_APDU *apdu);
25 IYaz_PDU_Observer* clone(IYaz_PDU_Observable *the_PDU_Observable);
31 class YAZ_EXPORT Yaz_ProxyMap {
33 char *m_databaseName; /* from database name */
34 char *m_ZURL; /* to this address */
38 /// Information Retrieval Proxy Server.
39 class YAZ_EXPORT Yaz_Proxy : public Yaz_IR_Assoc {
41 Yaz_Proxy(IYaz_PDU_Observable *the_PDU_Observable);
43 void recv_Z_PDU(Z_APDU *apdu);
44 IYaz_PDU_Observer* clone(IYaz_PDU_Observable *the_PDU_Observable);
46 Yaz_ProxyClient *m_client;
47 IYaz_PDU_Observable *m_PDU_Observable;