Promise.Adapter<C>
Constructor and Description |
---|
ConnectPromise(WebSocketClient client,
EventDriver driver,
ClientUpgradeRequest request) |
Modifier and Type | Method and Description |
---|---|
void |
failed(Throwable cause)
Callback invoked when the operation fails.
|
WebSocketClient |
getClient() |
EventDriver |
getDriver() |
Masker |
getMasker() |
ClientUpgradeRequest |
getRequest() |
ClientUpgradeResponse |
getResponse() |
UpgradeListener |
getUpgradeListener() |
void |
setResponse(ClientUpgradeResponse response) |
void |
setUpgradeListener(UpgradeListener upgradeListener) |
void |
succeeded(WebSocketSession session) |
cancel, get, get, isCancelled, isDone, rethrow, succeeded, toString
public ConnectPromise(WebSocketClient client, EventDriver driver, ClientUpgradeRequest request)
public void failed(Throwable cause)
Promise
Callback invoked when the operation fails.
public WebSocketClient getClient()
public EventDriver getDriver()
public Masker getMasker()
public ClientUpgradeRequest getRequest()
public ClientUpgradeResponse getResponse()
public UpgradeListener getUpgradeListener()
public void setResponse(ClientUpgradeResponse response)
public void setUpgradeListener(UpgradeListener upgradeListener)
public void succeeded(WebSocketSession session)
Copyright © 1995-2015 Webtide. All Rights Reserved.