public class WebSocketDataElement extends Object implements DataElement<WebSocketService,org.wso2.transport.http.netty.contract.websocket.WebSocketMessage>
| Constructor and Description |
|---|
WebSocketDataElement() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
getData(org.wso2.transport.http.netty.contract.websocket.WebSocketMessage inboundMessage,
DataReturnAgent<WebSocketService> dataReturnAgent)
Get the stored data.
|
boolean |
hasData()
Check data availability.
|
void |
setData(WebSocketService webSocketService)
Set the node item.
|
public boolean hasData()
DataElementhasData in interface DataElement<WebSocketService,org.wso2.transport.http.netty.contract.websocket.WebSocketMessage>public void setData(WebSocketService webSocketService)
DataElementsetData in interface DataElement<WebSocketService,org.wso2.transport.http.netty.contract.websocket.WebSocketMessage>webSocketService - data to be stored.public boolean getData(org.wso2.transport.http.netty.contract.websocket.WebSocketMessage inboundMessage,
DataReturnAgent<WebSocketService> dataReturnAgent)
DataElementgetData in interface DataElement<WebSocketService,org.wso2.transport.http.netty.contract.websocket.WebSocketMessage>inboundMessage - Checker for extra checks of the item.Copyright © 2018 WSO2. All rights reserved.