X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=include%2Fyaz-proxy.h;h=062c9268682997ec965004e56acd41ffc27f993f;hb=316df82985a4207a7d52e7d88567bf26d5c2c7c8;hp=cdd8cc39443e03c0306314b38fc00752b62d69c9;hpb=26b3f7f15abcb69aaf00fb6bdaf410ff3e7de14c;p=yazpp-moved-to-github.git diff --git a/include/yaz-proxy.h b/include/yaz-proxy.h index cdd8cc3..062c926 100644 --- a/include/yaz-proxy.h +++ b/include/yaz-proxy.h @@ -1,9 +1,8 @@ /* - * Copyright (c) 1998-1999, Index Data. + * Copyright (c) 1998-2000, Index Data. * 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.13 2000-09-08 10:23:42 adam Exp $ */ #include @@ -30,6 +29,8 @@ 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; + int m_waiting; }; /// Information Retrieval Proxy Server. @@ -46,8 +47,10 @@ 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; + long m_seed; public: Yaz_Proxy(IYaz_PDU_Observable *the_PDU_Observable); ~Yaz_Proxy(); @@ -58,5 +61,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; }; };