public class AbstractWebSocketConnection.OnCloseLocalCallback extends Object implements WriteCallback
Constructor and Description |
---|
AbstractWebSocketConnection.OnCloseLocalCallback(CloseInfo close) |
AbstractWebSocketConnection.OnCloseLocalCallback(WriteCallback callback,
CloseInfo close) |
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.OnCloseLocalCallback(WriteCallback callback, CloseInfo close)
public AbstractWebSocketConnection.OnCloseLocalCallback(CloseInfo close)
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.