public class AbstractWebSocketConnection.OnDisconnectCallback extends Object implements WriteCallback
Constructor and Description |
---|
AbstractWebSocketConnection.OnDisconnectCallback() |
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()
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-2013 Mort Bay Consulting. All Rights Reserved.