diff src/org/eclipse/jetty/io/AsyncEndPoint.java @ 952:669769bcdf5c

simplify AsyncEndPoint
author Franklin Schmidt <fschmidt@gmail.com>
date Wed, 12 Oct 2016 19:47:45 -0600
parents 89fe80dfab2c
children 1094975d013b
line wrap: on
line diff
--- a/src/org/eclipse/jetty/io/AsyncEndPoint.java	Wed Oct 12 18:12:12 2016 -0600
+++ b/src/org/eclipse/jetty/io/AsyncEndPoint.java	Wed Oct 12 19:47:45 2016 -0600
@@ -29,19 +29,12 @@
 	public void dispatch();
 	
 	/* ------------------------------------------------------------ */
-	/** Schedule a write dispatch.
-	 * Set the endpoint to not be writable and schedule a dispatch when
-	 * it becomes writable.
-	 */
-	public void scheduleWrite();  
-
-	/* ------------------------------------------------------------ */
 	/** Callback when idle.
 	 * <p>An endpoint is idle if there has been no IO activity for 
 	 * {@link #getMaxIdleTime()} and {@link #isCheckForIdle()} is true.
 	 * @param idleForMs TODO
 	 */
-	public void onIdleExpired(long idleForMs);
+//	public void onIdleExpired(long idleForMs);
 
 	/* ------------------------------------------------------------ */
 	/** Set if the endpoint should be checked for idleness
@@ -49,15 +42,6 @@
 	public void setCheckForIdle(boolean check);
 
 	/* ------------------------------------------------------------ */
-	/** Get if the endpoint should be checked for idleness
-	 */
-	public boolean isCheckForIdle();
-
-	
-	/* ------------------------------------------------------------ */
-	public boolean isWritable();
-
-	/* ------------------------------------------------------------ */
 	/**
 	 * @return True if IO has been successfully performed since the last call to {@link #hasProgressed()}
 	 */