List of usage examples for io.netty.handler.codec.http.websocketx BinaryWebSocketFrame BinaryWebSocketFrame
public BinaryWebSocketFrame()
From source file:org.wso2.carbon.identity.agent.userstore.HeatBeatTask.java
License:Open Source License
/** * Send ping message to server.//from www . j a v a2 s . c o m */ private void sendPingToServer() { if (LOGGER.isDebugEnabled()) { LOGGER.debug("Sending ping message to Identity Cloud."); } //TODO should send PingWebSocketFrame and it doesn't support at the moment channel.writeAndFlush(new BinaryWebSocketFrame()); }