Class FutureWriteCallback
java.lang.Object
org.eclipse.jetty.util.FutureCallback
org.eclipse.jetty.websocket.common.io.FutureWriteCallback
- All Implemented Interfaces:
Future<Void>,Callback,Invocable,WriteCallback
Allows events to a
WriteCallback to drive a Future for the user.-
Nested Class Summary
Nested classes/interfaces inherited from interface org.eclipse.jetty.util.Callback
Callback.Completable, Callback.Completing, Callback.NestedNested classes/interfaces inherited from interface org.eclipse.jetty.util.thread.Invocable
Invocable.InvocationType -
Field Summary
Fields inherited from class org.eclipse.jetty.util.FutureCallback
SUCCEEDEDFields inherited from interface org.eclipse.jetty.util.thread.Invocable
__nonBlocking -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.eclipse.jetty.util.FutureCallback
cancel, failed, get, get, isCancelled, isDone, rethrow, succeeded, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.eclipse.jetty.util.thread.Invocable
getInvocationType
-
Constructor Details
-
FutureWriteCallback
public FutureWriteCallback()
-
-
Method Details
-
writeFailed
- Specified by:
writeFailedin interfaceWriteCallback
-
writeSuccess
public void writeSuccess()- Specified by:
writeSuccessin interfaceWriteCallback
-