X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=include%2Fyaz%2B%2B%2Fpdu-observer.h;h=d3911894d7f5f57509e3efa3e587603849aab457;hb=8cd77956b745e79b984bc0c9b74989aeae8dd49d;hp=02b5fe84372ef7f40e3df088da67c60a6fc59643;hpb=ceb226cb18d96a6b3aa2dd6cff94aa27850362cf;p=yazpp-moved-to-github.git diff --git a/include/yaz++/pdu-observer.h b/include/yaz++/pdu-observer.h index 02b5fe8..d391189 100644 --- a/include/yaz++/pdu-observer.h +++ b/include/yaz++/pdu-observer.h @@ -2,7 +2,7 @@ * Copyright (c) 1998-2000, Index Data. * See the file LICENSE for details. * - * $Id: pdu-observer.h,v 1.1 2002-10-09 12:50:26 adam Exp $ + * $Id: pdu-observer.h,v 1.2 2003-10-01 13:13:51 adam Exp $ */ #ifndef YAZ_PDU_OBSERVER_H @@ -32,6 +32,8 @@ class YAZ_EXPORT IYaz_PDU_Observable { virtual void destroy() = 0; /// Set Idle Time virtual void idleTime (int timeout) = 0; + /// Get peername + virtual const char *getpeername() = 0; }; /** Protocol Data Unit Observer.