[Jukebox-cvs] CVS update: J4/src/java/gnu/j4/framework/server/net SocketAcceptor.java
Brought to you by:
vtt
From: CVS B. <vt...@fr...> - 2000-11-02 08:38:23
|
User: vt Date: 00/11/01 23:57:46 Modified: src/java/gnu/j4/framework/server/net SocketAcceptor.java Log: Checkpoint on the way to implement a shutdown(Throwable failureCause) call, as opposed to no-argument shutdown(). Point is, I want to know why the execute() died, if it did. Revision Changes Path 1.10 +3 -3 J4/src/java/gnu/j4/framework/server/net/SocketAcceptor.java CVSWEB Options: ------------------- CVSWeb: Annotate this file: http://cvs.sourceforge.net/cgi-bin/cvsweb.cgi/J4/src/java/gnu/j4/framework/server/net/SocketAcceptor.java?annotate=1.10&cvsroot=jukebox4 CVSWeb: View this file: http://cvs.sourceforge.net/cgi-bin/cvsweb.cgi/J4/src/java/gnu/j4/framework/server/net/SocketAcceptor.java?rev=1.10&content-type=text/x-cvsweb-markup&cvsroot=jukebox4 CVSWeb: Diff to previous version: http://cvs.sourceforge.net/cgi-bin/cvsweb.cgi/J4/src/java/gnu/j4/framework/server/net/SocketAcceptor.java.diff?r1=1.10&r2=1.9&cvsroot=jukebox4 ----------------------------------- Index: SocketAcceptor.java =================================================================== RCS file: /usr/local/cvs/J4/src/java/gnu/j4/framework/server/net/SocketAcceptor.java,v retrieving revision 1.9 retrieving revision 1.10 diff -u -r1.9 -r1.10 --- SocketAcceptor.java 2000/10/25 03:12:06 1.9 +++ SocketAcceptor.java 2000/11/02 06:57:46 1.10 @@ -62,7 +62,7 @@ * @see gnu.j4.framework.server.Acceptor * @see SocketStreamAdapter * @author Copyright © <a href="mailto:vt...@fr...">Vadim Tkachenko</a> 1995-1998 - * @version $Id: SocketAcceptor.java,v 1.9 2000/10/25 03:12:06 vt Exp $ + * @version $Id: SocketAcceptor.java,v 1.10 2000/11/02 06:57:46 vt Exp $ */ public class SocketAcceptor extends ActiveService implements Acceptor, LogFacility { /** @@ -339,7 +339,7 @@ * @exception InterruptedException if this thread was interrupted by * another thread. */ - public void shutdown() throws InterruptedException { + public void shutdown(Throwable failureCause) throws InterruptedException { complain(LOG_DEBUG, LOG_PKG, "Shut down."); } @@ -352,7 +352,7 @@ * @exception Throwable JDK 1.2 requirement. */ public void finalize() throws Throwable { - shutdown(); + shutdown(null); super.finalize(); } } |