Changed IPDU_Observer's interface WRT close.
authorAdam Dickmeiss <adam@indexdata.dk>
Mon, 21 Jan 2008 15:57:27 +0000 (15:57 +0000)
committerAdam Dickmeiss <adam@indexdata.dk>
Mon, 21 Jan 2008 15:57:27 +0000 (15:57 +0000)
commite432b52c33a684e9f90627b971d14da6b362daff
tree11f880e5131420fa518c2be1d6733f312af688a7
parentd87f1c9e3b773cce0cce6cd9b67127f9008c7008
Changed IPDU_Observer's interface WRT close.

The IDPU_Observer method, close, renamed to shutdown. Method hutdown
shuts down the socket connection (immediately).
Added new method, close_session, which closes the connection as soon as
it becomes idle (when everything in queue is flushed).
These changes should make it possible to fix bug #1130.
include/yazpp/pdu-assoc.h
include/yazpp/pdu-observer.h
src/yaz-pdu-assoc-thread.cpp
src/yaz-pdu-assoc.cpp
src/yaz-z-assoc.cpp