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)
WriteCallbackCallback invoked when the write fails.
writeFailed in interface WriteCallbackx - the reason for the write failurepublic void writeSuccess()
WriteCallbackCallback invoked when the write completes.
writeSuccess in interface WriteCallbackWriteCallback.writeFailed(Throwable)Copyright © 1995-2015 Webtide. All Rights Reserved.