Mercurial Hosting > luan
comparison src/org/eclipse/jetty/io/nio/SslConnection.java @ 959:7b94f5b33c64
remove onClose()
| author | Franklin Schmidt <fschmidt@gmail.com> |
|---|---|
| date | Thu, 13 Oct 2016 18:53:26 -0600 |
| parents | 1094975d013b |
| children | 3cd4c706a61f |
comparison
equal
deleted
inserted
replaced
| 958:fc521d2f098e | 959:7b94f5b33c64 |
|---|---|
| 217 } | 217 } |
| 218 | 218 |
| 219 return this; | 219 return this; |
| 220 } | 220 } |
| 221 | 221 |
| 222 /* ------------------------------------------------------------ */ | |
| 223 public boolean isIdle() | 222 public boolean isIdle() |
| 224 { | 223 { |
| 225 return false; | 224 return false; |
| 226 } | 225 } |
| 227 | 226 |
| 228 /* ------------------------------------------------------------ */ | |
| 229 public boolean isSuspended() | 227 public boolean isSuspended() |
| 230 { | 228 { |
| 231 return false; | 229 return false; |
| 232 } | 230 } |
| 233 | 231 |
| 234 /* ------------------------------------------------------------ */ | |
| 235 public void onClose() | |
| 236 { | |
| 237 Connection connection = _sslEndPoint.getConnection(); | |
| 238 if (connection != null && connection != this) | |
| 239 connection.onClose(); | |
| 240 } | |
| 241 | |
| 242 /* ------------------------------------------------------------ */ | |
| 243 @Override | 232 @Override |
| 244 public void onIdleExpired(long idleForMs) | 233 public void onIdleExpired(long idleForMs) |
| 245 { | 234 { |
| 246 try | 235 try |
| 247 { | 236 { |
| 256 _logger.warn("",e); | 245 _logger.warn("",e); |
| 257 super.onIdleExpired(idleForMs); | 246 super.onIdleExpired(idleForMs); |
| 258 } | 247 } |
| 259 } | 248 } |
| 260 | 249 |
| 261 /* ------------------------------------------------------------ */ | |
| 262 public void onInputShutdown() throws IOException | 250 public void onInputShutdown() throws IOException |
| 263 { | 251 { |
| 264 | 252 |
| 265 } | 253 } |
| 266 | 254 |
| 267 /* ------------------------------------------------------------ */ | |
| 268 private synchronized boolean process(Buffer toFill, Buffer toFlush) throws IOException | 255 private synchronized boolean process(Buffer toFill, Buffer toFlush) throws IOException |
| 269 { | 256 { |
| 270 boolean some_progress=false; | 257 boolean some_progress=false; |
| 271 try | 258 try |
| 272 { | 259 { |
