comparison src/org/eclipse/jetty/server/nio/SelectChannelConnector.java @ 952:669769bcdf5c

simplify AsyncEndPoint
author Franklin Schmidt <fschmidt@gmail.com>
date Wed, 12 Oct 2016 19:47:45 -0600
parents a778413aefc0
children a021c4c9c244
comparison
equal deleted inserted replaced
951:e542a9cc75ef 952:669769bcdf5c
121 } 121 }
122 122
123 super.doStart(); 123 super.doStart();
124 } 124 }
125 125
126 protected AsyncConnection newConnection(SocketChannel channel,final AsyncEndPoint endpoint) 126 protected AsyncConnection newConnection(SocketChannel channel,AsyncEndPoint endpoint)
127 { 127 {
128 return new AsyncHttpConnection(SelectChannelConnector.this,endpoint,server); 128 return new AsyncHttpConnection(SelectChannelConnector.this,endpoint,server);
129 } 129 }
130 130
131 131
136 { 136 {
137 server.threadPool.execute(task); 137 server.threadPool.execute(task);
138 } 138 }
139 139
140 @Override 140 @Override
141 public AsyncConnection newConnection(SocketChannel channel,AsyncEndPoint endpoint, Object attachment) 141 public AsyncConnection newConnection(SocketChannel channel,SelectChannelEndPoint endpoint, Object attachment)
142 { 142 {
143 return SelectChannelConnector.this.newConnection(channel,endpoint); 143 return SelectChannelConnector.this.newConnection(channel,endpoint);
144 } 144 }
145 } 145 }
146 } 146 }