* See the file LICENSE for details.
* Sebastian Hammer, Adam Dickmeiss
*
- * $Log: yaz-proxy.h,v $
- * Revision 1.3 1999-04-09 11:47:23 adam
- * Added object Yaz_Z_Assoc. Much more functional client.
- *
- * Revision 1.2 1999/02/02 14:01:15 adam
- * First WIN32 port of YAZ++.
- *
- * Revision 1.1.1.1 1999/01/28 09:41:07 adam
- * First implementation of YAZ++.
- *
- *
+ * $Id: yaz-proxy.h,v 1.4 1999-04-20 10:30:05 adam Exp $
*/
#include <yaz-z-assoc.h>
IYaz_PDU_Observer* clone(IYaz_PDU_Observable *the_PDU_Observable);
Yaz_Proxy *m_server;
void failNotify();
-};
-
-/// Private class
-class YAZ_EXPORT Yaz_ProxyMap {
- friend Yaz_Proxy;
- char *m_databaseName; /* from database name */
- char *m_ZURL; /* to this address */
- Yaz_ProxyMap *m_next;
+ char *m_cookie;
+ Yaz_ProxyClient *m_next;
};
/// Information Retrieval Proxy Server.
void recv_Z_PDU(Z_APDU *apdu);
IYaz_PDU_Observer* clone(IYaz_PDU_Observable *the_PDU_Observable);
void failNotify();
+ private:
+ char *get_cookie(Z_OtherInformation **otherInfo);
+ char *get_proxy(Z_OtherInformation **otherInfo);
+
Yaz_ProxyClient *m_client;
IYaz_PDU_Observable *m_PDU_Observable;
- private:
- Yaz_ProxyMap *m_maps;
};