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 TypeMethodDescriptionvoidCallback invoked when the write fails.voidCallback 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:
-