/** * Send a frame to the remote endpoint. * * @param data complete data frame. * @return {@link Future} which could be used to control/check the sending completion state. */ public Future<Frame> sendRawFrame(ByteBuffer data) { checkConnectedState(); return protocolHandler.sendRawFrame(data); }
/** * Send a frame to the remote endpoint. * * @param data complete data frame. * @return {@link Future} which could be used to control/check the sending completion state. */ public Future<Frame> sendRawFrame(ByteBuffer data) { checkConnectedState(); return protocolHandler.sendRawFrame(data); }