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
Preinit facility for proxy
[yazpp-moved-to-github.git]
/
include
/
yaz++
/
pdu-assoc.h
diff --git
a/include/yaz++/pdu-assoc.h
b/include/yaz++/pdu-assoc.h
index
e16c19f
..
38a0d66
100644
(file)
--- a/
include/yaz++/pdu-assoc.h
+++ b/
include/yaz++/pdu-assoc.h
@@
-1,8
+1,8
@@
/*
/*
- * Copyright (c) 1998-2000, Index Data.
+ * Copyright (c) 1998-2003, Index Data.
* See the file LICENSE for details.
*
* See the file LICENSE for details.
*
- * $Id: pdu-assoc.h,v 1.1 2002-10-09 12:50:26 adam Exp $
+ * $Id: pdu-assoc.h,v 1.3 2003-10-10 12:37:26 adam Exp $
*/
#ifndef YAZ_PDU_ASSOC_INCLUDED
*/
#ifndef YAZ_PDU_ASSOC_INCLUDED
@@
-65,7
+65,7
@@
class YAZ_EXPORT Yaz_PDU_Assoc : public IYaz_PDU_Observable, IYazSocketObserver
/// Send PDU
int send_PDU(const char *buf, int len);
/// connect to server (client role)
/// Send PDU
int send_PDU(const char *buf, int len);
/// connect to server (client role)
- void connect(IYaz_PDU_Observer *observer, const char *addr);
+ int connect(IYaz_PDU_Observer *observer, const char *addr);
/// listen for clients (server role)
void listen(IYaz_PDU_Observer *observer, const char *addr);
/// Socket notification
/// listen for clients (server role)
void listen(IYaz_PDU_Observer *observer, const char *addr);
/// Socket notification
@@
-78,6
+78,7
@@
class YAZ_EXPORT Yaz_PDU_Assoc : public IYaz_PDU_Observable, IYazSocketObserver
void idleTime (int timeout);
/// Child start...
virtual void childNotify(COMSTACK cs);
void idleTime (int timeout);
/// Child start...
virtual void childNotify(COMSTACK cs);
+ const char *getpeername();
};
class YAZ_EXPORT Yaz_PDU_AssocThread : public Yaz_PDU_Assoc {
};
class YAZ_EXPORT Yaz_PDU_AssocThread : public Yaz_PDU_Assoc {