comparison src/org/eclipse/jetty/io/nio/SelectChannelEndPoint.java @ 968:0d20943cfea2

remove ConnectedEndPoint
author Franklin Schmidt <fschmidt@gmail.com>
date Fri, 14 Oct 2016 02:37:53 -0600
parents 8a8dc0b1742f
children 0650077fcd6c
comparison
equal deleted inserted replaced
967:8a8dc0b1742f 968:0d20943cfea2
27 import java.util.Locale; 27 import java.util.Locale;
28 import java.util.concurrent.RejectedExecutionException; 28 import java.util.concurrent.RejectedExecutionException;
29 29
30 import org.eclipse.jetty.io.AsyncEndPoint; 30 import org.eclipse.jetty.io.AsyncEndPoint;
31 import org.eclipse.jetty.io.Buffer; 31 import org.eclipse.jetty.io.Buffer;
32 import org.eclipse.jetty.io.ConnectedEndPoint;
33 import org.eclipse.jetty.io.Connection; 32 import org.eclipse.jetty.io.Connection;
34 import org.eclipse.jetty.io.EofException; 33 import org.eclipse.jetty.io.EofException;
35 import org.slf4j.Logger; 34 import org.slf4j.Logger;
36 import org.slf4j.LoggerFactory; 35 import org.slf4j.LoggerFactory;
37 36
38 37
39 /* ------------------------------------------------------------ */ 38 /* ------------------------------------------------------------ */
40 /** 39 /**
41 * An Endpoint that can be scheduled by {@link SelectorManager}. 40 * An Endpoint that can be scheduled by {@link SelectorManager}.
42 */ 41 */
43 public final class SelectChannelEndPoint extends ChannelEndPoint implements AsyncEndPoint, ConnectedEndPoint 42 public final class SelectChannelEndPoint extends ChannelEndPoint implements AsyncEndPoint
44 { 43 {
45 public static final Logger LOG=LoggerFactory.getLogger("org.eclipse.jetty.io.nio"); 44 public static final Logger LOG=LoggerFactory.getLogger("org.eclipse.jetty.io.nio");
46 45
47 private final SelectorManager _manager; 46 private final SelectorManager _manager;
48 private final SelectionKey _key; 47 private final SelectionKey _key;
84 83
85 _manager = manager; 84 _manager = manager;
86 _key = key; 85 _key = key;
87 } 86 }
88 87
89 @Override
90 public void setConnection(Connection connection) 88 public void setConnection(Connection connection)
91 { 89 {
92 _connection = (AsyncConnection)connection; 90 _connection = (AsyncConnection)connection;
93 } 91 }
94 92