Package org.eclipse.jetty.websocket.api
Interface WriteCallback
-
- All Known Implementing Classes:
BlockingWriteCallback.WriteBlocker
,FutureWriteCallback
,SendHandlerWriteCallback
public interface WriteCallback
Callback for Write events.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
writeFailed(java.lang.Throwable x)
Callback invoked when the write fails.void
writeSuccess()
Callback invoked when the write completes.
-
-
-
Method Detail
-
writeFailed
void writeFailed(java.lang.Throwable x)
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:
writeFailed(Throwable)
-
-