public class AbstractWebSocketConnection.OnDisconnectCallback extends Object implements WriteCallback
Constructor and Description |
---|
AbstractWebSocketConnection.OnDisconnectCallback(boolean outputOnly) |
Modifier and Type | Method and Description |
---|---|
void |
writeFailed(Throwable x)
Callback invoked when the write fails.
|
void |
writeSuccess()
Callback invoked when the write completes.
|
public AbstractWebSocketConnection.OnDisconnectCallback(boolean outputOnly)
public void writeFailed(Throwable x)
WriteCallback
Callback invoked when the write fails.
writeFailed
in interface WriteCallback
x
- the reason for the write failurepublic void writeSuccess()
WriteCallback
Callback invoked when the write completes.
writeSuccess
in interface WriteCallback
WriteCallback.writeFailed(Throwable)
Copyright © 1995-2015 Webtide. All Rights Reserved.