comparison src/org/eclipse/jetty/io/nio/SelectChannelEndPoint.java @ 965:866f2e801618

handle() returns void
author Franklin Schmidt <fschmidt@gmail.com>
date Fri, 14 Oct 2016 02:19:21 -0600
parents 768414c16e10
children 8a8dc0b1742f
comparison
equal deleted inserted replaced
964:768414c16e10 965:866f2e801618
343 { 343 {
344 try 344 try
345 { 345 {
346 try 346 try
347 { 347 {
348 while(true) 348 _connection.handle();
349 {
350 final AsyncConnection next = (AsyncConnection)_connection.handle();
351 if (next==_connection)
352 break;
353 LOG.debug("{} replaced {}",next,_connection);
354 _connection=next;
355 }
356 } 349 }
357 catch (ClosedChannelException e) 350 catch (ClosedChannelException e)
358 { 351 {
359 LOG.trace("",e); 352 LOG.trace("",e);
360 } 353 }
399 isDispatched = false; 392 isDispatched = false;
400 updateKey(); 393 updateKey();
401 } 394 }
402 } 395 }
403 396
404 /* ------------------------------------------------------------ */
405 /*
406 * @see org.eclipse.io.nio.ChannelEndPoint#close()
407 */
408 @Override 397 @Override
409 public void close() throws IOException 398 public void close() throws IOException
410 { 399 {
411 try 400 try
412 { 401 {