projects
/
yazpp-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Added skeleton of yaz-z-server.
[yazpp-moved-to-github.git]
/
include
/
yaz-proxy.h
diff --git
a/include/yaz-proxy.h
b/include/yaz-proxy.h
index
cdd8cc3
..
062c926
100644
(file)
--- 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.
* 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 <yaz-z-assoc.h>
*/
#include <yaz-z-assoc.h>
@@
-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;
Yaz_Z_Query *m_last_query;
int m_last_resultCount;
int m_sr_transform;
+ int m_seqno;
+ int m_waiting;
};
/// Information Retrieval Proxy Server.
};
/// 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;
Yaz_ProxyClient *m_clientPool;
Yaz_Proxy *m_parent;
int m_seqno;
+ int m_max_clients;
int m_keepalive;
char *m_proxyTarget;
int m_keepalive;
char *m_proxyTarget;
+ long m_seed;
public:
Yaz_Proxy(IYaz_PDU_Observable *the_PDU_Observable);
~Yaz_Proxy();
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 connectNotify();
void set_proxyTarget(const char *target);
char *get_proxyTarget() { return m_proxyTarget; };
+ void set_max_clients(int m) { m_max_clients = m; };
};
};