Class SendHandlerWriteCallback
- java.lang.Object
-
- org.eclipse.jetty.websocket.jsr356.messages.SendHandlerWriteCallback
-
- All Implemented Interfaces:
WriteCallback
public class SendHandlerWriteCallback extends java.lang.Object implements WriteCallback
-
-
Constructor Summary
Constructors Constructor Description SendHandlerWriteCallback(javax.websocket.SendHandler sendHandler)
-
Method Summary
All Methods Instance Methods Concrete 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
public void writeFailed(java.lang.Throwable x)
Description copied from interface:WriteCallback
Callback invoked when the write fails.
- Specified by:
writeFailed
in interfaceWriteCallback
- Parameters:
x
- the reason for the write failure
-
writeSuccess
public void writeSuccess()
Description copied from interface:WriteCallback
Callback invoked when the write completes.
- Specified by:
writeSuccess
in interfaceWriteCallback
- See Also:
WriteCallback.writeFailed(Throwable)
-
-