Mercurial Hosting > luan
changeset 945:89fe80dfab2c
remove asyncDispatch()
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Tue, 11 Oct 2016 20:53:06 -0600 |
parents | 1d24b6e422fa |
children | 901dcfa05c32 |
files | src/org/eclipse/jetty/io/AsyncEndPoint.java src/org/eclipse/jetty/io/nio/SelectChannelEndPoint.java src/org/eclipse/jetty/io/nio/SslConnection.java |
diffstat | 3 files changed, 0 insertions(+), 41 deletions(-) [+] |
line wrap: on
line diff
diff -r 1d24b6e422fa -r 89fe80dfab2c src/org/eclipse/jetty/io/AsyncEndPoint.java --- a/src/org/eclipse/jetty/io/AsyncEndPoint.java Tue Oct 11 20:16:03 2016 -0600 +++ b/src/org/eclipse/jetty/io/AsyncEndPoint.java Tue Oct 11 20:53:06 2016 -0600 @@ -29,13 +29,6 @@ public void dispatch(); /* ------------------------------------------------------------ */ - /** - * Dispatch the endpoint. If it is already dispatched, schedule a redispatch - * - */ - public void asyncDispatch(); - - /* ------------------------------------------------------------ */ /** Schedule a write dispatch. * Set the endpoint to not be writable and schedule a dispatch when * it becomes writable.
diff -r 1d24b6e422fa -r 89fe80dfab2c src/org/eclipse/jetty/io/nio/SelectChannelEndPoint.java --- a/src/org/eclipse/jetty/io/nio/SelectChannelEndPoint.java Tue Oct 11 20:16:03 2016 -0600 +++ b/src/org/eclipse/jetty/io/nio/SelectChannelEndPoint.java Tue Oct 11 20:53:06 2016 -0600 @@ -117,31 +117,22 @@ } } - /* ------------------------------------------------------------ */ public SelectorManager getSelectManager() { return _manager; } - /* ------------------------------------------------------------ */ public Connection getConnection() { return _connection; } - /* ------------------------------------------------------------ */ public void setConnection(Connection connection) { _connection=(AsyncConnection)connection; } /* ------------------------------------------------------------ */ - public long getIdleTimestamp() - { - return _idleTimestamp; - } - - /* ------------------------------------------------------------ */ /** Called by selectSet to schedule handling * */ @@ -198,26 +189,6 @@ } /* ------------------------------------------------------------ */ - public void asyncDispatch() - { - synchronized(this) - { - switch(_state) - { - case STATE_NEEDS_DISPATCH: - case STATE_UNDISPATCHED: - dispatch(); - break; - - case STATE_DISPATCHED: - case STATE_ASYNC: - _state=STATE_ASYNC; - break; - } - } - } - - /* ------------------------------------------------------------ */ public void dispatch() { synchronized(this)
diff -r 1d24b6e422fa -r 89fe80dfab2c src/org/eclipse/jetty/io/nio/SslConnection.java --- a/src/org/eclipse/jetty/io/nio/SslConnection.java Tue Oct 11 20:16:03 2016 -0600 +++ b/src/org/eclipse/jetty/io/nio/SslConnection.java Tue Oct 11 20:53:06 2016 -0600 @@ -743,11 +743,6 @@ _aEndp.dispatch(); } - public void asyncDispatch() - { - _aEndp.asyncDispatch(); - } - public void scheduleWrite() { _aEndp.scheduleWrite();