Mercurial Hosting > luan
comparison src/org/eclipse/jetty/io/nio/ChannelEndPoint.java @ 965:866f2e801618
handle() returns void
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Fri, 14 Oct 2016 02:19:21 -0600 |
parents | 3cd4c706a61f |
children | bdb6eb0fbf93 |
comparison
equal
deleted
inserted
replaced
964:768414c16e10 | 965:866f2e801618 |
---|---|
444 public Object getTransport() | 444 public Object getTransport() |
445 { | 445 { |
446 return _channel; | 446 return _channel; |
447 } | 447 } |
448 | 448 |
449 /* ------------------------------------------------------------ */ | |
450 public void flush() | 449 public void flush() |
451 throws IOException | 450 throws IOException |
452 { | 451 { |
453 } | 452 } |
454 | 453 |
455 /* ------------------------------------------------------------ */ | |
456 public int getMaxIdleTime() | 454 public int getMaxIdleTime() |
457 { | 455 { |
458 return _maxIdleTime; | 456 return _maxIdleTime; |
459 } | 457 } |
460 | 458 |
461 /* ------------------------------------------------------------ */ | |
462 public void setMaxIdleTime(int timeMs) throws IOException | 459 public void setMaxIdleTime(int timeMs) throws IOException |
463 { | 460 { |
464 if (_socket!=null && timeMs!=_maxIdleTime) | 461 if (_socket!=null && timeMs!=_maxIdleTime) |
465 _socket.setSoTimeout(timeMs>0?timeMs:0); | 462 _socket.setSoTimeout(timeMs>0?timeMs:0); |
466 _maxIdleTime=timeMs; | 463 _maxIdleTime=timeMs; |