Fixed serious bug regarding timeouts. Improved logging for proxy.
[yazpp-moved-to-github.git] / include / yaz-proxy.h
index cdd8cc3..128d3b7 100644 (file)
@@ -3,7 +3,7 @@
  * See the file LICENSE for details.
  * Sebastian Hammer, Adam Dickmeiss
  * 
- * $Id: yaz-proxy.h,v 1.9 1999-12-06 13:52:45 adam Exp $
+ * $Id: yaz-proxy.h,v 1.11 2000-08-07 14:19:59 adam Exp $
  */
 
 #include <yaz-z-assoc.h>
@@ -30,6 +30,7 @@ class YAZ_EXPORT Yaz_ProxyClient : public Yaz_Z_Assoc {
     Yaz_Z_Query *m_last_query;
     int m_last_resultCount;
     int m_sr_transform;
+    int m_seqno;
 };
 
 /// Information Retrieval Proxy Server.
@@ -46,8 +47,11 @@ class YAZ_EXPORT Yaz_Proxy : public Yaz_Z_Assoc {
     Yaz_ProxyClient *m_clientPool;
     Yaz_Proxy *m_parent;
     int m_seqno;
+    int m_max_clients;
     int m_keepalive;
     char *m_proxyTarget;
+    char *m_APDU_fname;
+    long m_seed;
  public:
     Yaz_Proxy(IYaz_PDU_Observable *the_PDU_Observable);
     ~Yaz_Proxy();
@@ -58,5 +62,6 @@ class YAZ_EXPORT Yaz_Proxy : public Yaz_Z_Assoc {
     void connectNotify();
     void set_proxyTarget(const char *target);
     char *get_proxyTarget() { return m_proxyTarget; };
+    void set_max_clients(int m) { m_max_clients = m; };
 };