Package org.eclipse.jetty.websocket.api
Interface WriteCallback
- All Known Implementing Classes:
AbstractWebSocketConnection.CallbackBridge
,BlockingWriteCallback.WriteBlocker
,CompressExtension.Flusher
,ExtensionStack.Flusher
,FragmentExtension.Flusher
,FutureWriteCallback
,SendHandlerWriteCallback
public interface WriteCallback
Callback for Write events.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Callback invoked when the write fails.void
Callback invoked when the write completes.
-
Method Details
-
writeFailed
Callback invoked when the write fails.
- Parameters:
x
- the reason for the write failure
-
writeSuccess
void writeSuccess()Callback invoked when the write completes.
- See Also:
-