comparison src/org/eclipse/jetty/io/nio/SelectorManager.java @ 969:0650077fcd6c

remove SelectChannelEndPoint.setConnection()
author Franklin Schmidt <fschmidt@gmail.com>
date Fri, 14 Oct 2016 02:44:02 -0600
parents 0d20943cfea2
children d82eb99e8df6
comparison
equal deleted inserted replaced
968:0d20943cfea2 969:0650077fcd6c
85 } 85 }
86 */ 86 */
87 try { 87 try {
88 SelectionKey key = _selector.register(channel,0,null); 88 SelectionKey key = _selector.register(channel,0,null);
89 SelectChannelEndPoint endpoint = new SelectChannelEndPoint(channel,this,key, _maxIdleTime); 89 SelectChannelEndPoint endpoint = new SelectChannelEndPoint(channel,this,key, _maxIdleTime);
90 endpoint.setConnection(newConnection(channel,endpoint));
91 key.attach(endpoint); 90 key.attach(endpoint);
92 _selector.update(); 91 _selector.update();
93 //System.out.println("qqqqqqqqqqqqqqqqqqqqqqqqqqqqq b"); 92 //System.out.println("qqqqqqqqqqqqqqqqqqqqqqqqqqqqq b");
94 endpoint.schedule(); 93 endpoint.schedule();
95 } catch(IOException e) { 94 } catch(IOException e) {