public class WebSocketSinkHandshakeListener extends Object implements org.wso2.transport.http.netty.contract.websocket.ClientHandshakeListener
| Constructor and Description |
|---|
WebSocketSinkHandshakeListener(io.siddhi.query.api.definition.StreamDefinition streamDefinition,
Semaphore semaphore) |
| Modifier and Type | Method and Description |
|---|---|
AtomicReference<org.wso2.transport.http.netty.contract.websocket.WebSocketConnection> |
getWebSocketConnectionAtomicReference() |
void |
onError(Throwable t,
org.wso2.transport.http.netty.message.HttpCarbonResponse response) |
void |
onSuccess(org.wso2.transport.http.netty.contract.websocket.WebSocketConnection webSocketConnection,
org.wso2.transport.http.netty.message.HttpCarbonResponse response) |
public WebSocketSinkHandshakeListener(io.siddhi.query.api.definition.StreamDefinition streamDefinition,
Semaphore semaphore)
public void onSuccess(org.wso2.transport.http.netty.contract.websocket.WebSocketConnection webSocketConnection,
org.wso2.transport.http.netty.message.HttpCarbonResponse response)
onSuccess in interface org.wso2.transport.http.netty.contract.websocket.ClientHandshakeListenerpublic void onError(Throwable t, org.wso2.transport.http.netty.message.HttpCarbonResponse response)
onError in interface org.wso2.transport.http.netty.contract.websocket.ClientHandshakeListenerpublic AtomicReference<org.wso2.transport.http.netty.contract.websocket.WebSocketConnection> getWebSocketConnectionAtomicReference()
Copyright © 2019 WSO2. All rights reserved.