remm 2004/01/26 10:15:22
Modified: coyote/src/java/org/apache/coyote ProtocolHandler.java
Log:
- Implement clean shutdown of the connectors (my third proposal).
- Add pause and resume methods.
Revision Changes Path
1.5 +11 -0 jakarta-tomcat-connectors/coyote/src/java/org/apache/coyote/ProtocolHandler.java
Index: ProtocolHandler.java
===================================================================
RCS file: /home/cvs/jakarta-tomcat-connectors/coyote/src/java/org/apache/coyote/ProtocolHandler.java,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- ProtocolHandler.java 14 Jan 2003 16:49:45 -0000 1.4
+++ ProtocolHandler.java 26 Jan 2004 18:15:22 -0000 1.5
@@ -101,6 +101,17 @@
public void start()
throws Exception;
+ /**
+ * Pause the protocol (optional).
+ */
+ public void pause()
+ throws Exception;
+
+ /**
+ * Resume the protocol (optional).
+ */
+ public void resume()
+ throws Exception;
public void destroy()
throws Exception;
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org
|